-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add color schemes to IPython console #916
Comments
From ccordoba12 on 2012-01-23T06:46:45Z Hi, It's not possible to define a color scheme for the IPython console but you can go to Tools > Preferences > Console > Display and look for the section called "Background color". In there deselect the option called "Light background (white color)" and next time you open a new console, you'll see it has a dark background with a predefined color scheme |
From [email protected] on 2012-09-19T15:10:35Z Seconded. IPython follows the colour scheme of the separate terminal I use (Console2 on Windows), but it does not follow Spyder's colour scheme. I would not call it a defect, though, but an enhancement request. |
From [email protected] on 2012-09-20T16:20:37Z Ipython's qtconsole uses pygments for syntax highlighting. Perhaps spyder could convert its color scheme to pygments when embedding the ipython qtconsole. |
From ccordoba12 on 2012-09-21T09:36:45Z Yes, this is now possible but only for IPython. We'll try to add it for 2.2. Summary: Add color schemes for IPython plugin |
From ccordoba12 on 2013-02-11T09:00:14Z Blocking: spyderlib:1053 |
From ccordoba12 on 2013-03-12T08:55:52Z issue #1300 has been merged into this issue. |
From [email protected] on 2013-04-29T14:41:22Z Labels: -MS-v2.2 MS-v2.3 |
From ccordoba12 on 2013-07-12T18:09:37Z Labels: -MS-v2.3 MS-v2.4 |
From [email protected] on 2013-09-06T09:42:50Z I'd be interested in this as well. Any update on the Ipython color schemes, or at least a dark backgorund? Also, looks like issue #1520 should be merged into here... |
From phyo.arkarlwin on 2013-09-16T11:56:47Z I have done it and contributing to spyder! Too bad it seems that google-code remove serverside cloning (Forking) so i have to attach a patch. It will automatically try to match with current background and foreground color set in your code background. diff -r 4f523daf4159 spyderlib/widgets/ipython.py IPython importstry: # 1.0
Qt importsfrom spyderlib.qt.QtGui import QTextEdit, QKeySequence, QShortcut
|
From phyo.arkarlwin on 2013-09-16T12:01:43Z patch attached , pasting here looks ugly. Attachment: custom_ipython_sytlesheet.patch |
From ccordoba12 on 2013-09-22T10:32:59Z Thanks a lot phyo for the patch! You are proposing something much more ambitious just using a dark background, it's meant to use our own color schemes. That requires more work and that's why I'm leaving it for 2.3. I didn't notice GoogleCode eliminated the option to do server-side clones. It's really time to move to BitBucket, you're absolutely right! I'll try to do it in the next couple of weeks. Labels: -MS-v2.4 MS-v2.3 |
From phyo.arkarlwin on 2013-09-23T07:00:58Z You welcome ccordoba12!
Yep , my patch does it. It reads the config of currently active color schema and applies it to ipython directly.
|
From phyo.arkarlwin on 2013-10-03T11:35:43Z I am working onwards automatic coloring of ipython , including ipython's syntax. |
From phyo.arkarlwin on 2013-10-03T11:38:43Z Forget to attach code: Attachment: ipython_styles.py |
From phyo.arkarlwin on 2014-01-23T09:57:25Z Working now , Pull Request submitted for it @ Bitbucket. |
From ccordoba12 on 2014-05-04T14:59:12Z Hope to this finished someday :) Labels: -MS-v2.3 MS-v2.4 |
From phyo.arkarlwin on 2014-05-05T00:53:20Z Sorry , I am in a rush to complete a project by end of this month . |
From phyo.arkarlwin on 2014-06-24T16:46:11Z Pull request submitted. |
He implemented this feature on Bitbucket, but his pull request was a bit messy. We'd need to port it here. I pretend to do that for beta2. |
👍 |
What is the plan? To keep the global Coloring Scheme and for all Consoles (ipython included) add the option to select the coloring scheme with a checkbox, to use the same as the editor? (to avoid repetition?) |
Just adding comments to include the bitbucket code @ccordoba12 is this something that cannot be done until you finish your kernel and stuff work, or is this something that can be done in parallel? |
From [email protected] on 2012-01-22T23:45:51Z
I wonder if Spyder can provide color scheme options for the IPython windows (as well as the Console windows)... I use black background on the main editor and the object inspector. And the white background of IPython and Console looks a bit annoying... Attached is how it looks on my computer.
Attachment: spyder-color.jpg
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=916
The text was updated successfully, but these errors were encountered: