Add a menu entry to select between available color schemes
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - N/A Could not reproduce inside
jupyter qtconsole
(if console-related) - N/A Tried basic troubleshooting (if a bug/error)
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
I generally prefer working with a dark background on the editor (I use the Spyder Dark colour scheme). However, when working with others or showing work on a big screen / projector, it’s useful to have a quick method of switching to a light background (e.g. Spyder colour scheme). It would be really nice if a keyboard shortcut could be set up to switch between two specified colour schemes.
What steps reproduce the problem?
- Go to keyboard shortcuts configuration page
- Search in vain for anything colour scheme related
Versions
- Spyder version: 3.3.1
- Python version: 3.7.1
- Qt version: 5.6.2
- PyQt version: 5.6
- Operating System name/version: Windows 10
(P.S. If you’re suggesting in the template that people go to Help…About Spyder for this information, it would be really nice if it was copy-able for pasting in here rather than having to type it and risk making a mistake)
Dependencies
IPython >=4.0 : 7.1.1 (OK)
cython >=0.21 : 0.29 (OK)
jedi >=0.9.0 : 0.13.1 (OK)
matplotlib >=2.0.0: 2.2.2 (OK)
nbconvert >=4.0 : 5.3.1 (OK)
numpy >=1.7 : 1.15.3 (OK)
pandas >=0.13.1 : 0.23.4 (OK)
pycodestyle >=2.3 : 2.4.0 (OK)
pyflakes >=0.6.0 : 2.0.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 2.1.1 (OK)
qtconsole >=4.2.0 : 4.4.2 (OK)
rope >=0.9.4 : 0.11.0 (OK)
sphinx >=0.6.6 : 1.8.1 (OK)
sympy >=0.7.3 : 1.3 (OK)
Issue Analytics
- State:
- Created 5 years ago
- Comments:36 (30 by maintainers)
Top Results From Across the Web
Menu Styling | Web Accessibility Initiative (WAI) - W3C
Convey menu items and their states by using color and other styling options. Don't rely on color alone as some users will be...
Read more >Work with color schemes—ArcGIS Pro | Documentation
, click the Color scheme drop-down menu. Choose a color scheme from the list of available schemes. Hover over a color scheme to...
Read more >Color Schemes - Guide - FreeCommander Forum
Color Schemes - Guide · Quick search/filter/starter · Select items > General · Select items > NC-Mode · View · View > Address...
Read more >Apply a color scheme - Microsoft Support
To apply a color from the currently selected color scheme, click one of the colors in the top row of the color palette....
Read more >Create a Color Scheme - Revit - Autodesk Knowledge Network
Create a color scheme by selecting the category and specifying the color scheme definitions. Select a color fill legend and, on the Modify ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
But as you said yourself, adding a list, albeit shorter, doesn’t really help to speed up switching between syntax schemes faster. So do we really need to add that flexibility in the menu when that flexibility is already provided in the
Preferences
?From PR https://github.com/spyder-ide/spyder/pull/8426#issuecomment-447191759 :
Thank you @gepcel for your input on this. Another idea would be to add an action to the source menu that
switch to last used color scheme
.Another option would be to add two actions instead, one that
switch to previous color scheme
and one thatswitch to next color scheme
. Then, I think keyboard shortcuts to these actions could even be added. I think this would allow to address the original issue and @ccordoba12’s concerns about not having a “single dark or light color scheme we could go to.”