Spyder does not respect system keyboard settings, and there seems to be no way to disable the blinking cursor in the editor, integrated consoles, etc. All modern IDEs provide an option to disable cursor blinking; the flashing cursor is known to irritate a lot of developers. (www.jurta.org/en/prog/noblink).
How can one tweak the Spyder settings, configuration files to make this happen?
I'm using: Linux (Ubuntu 16.04), Anaconda 4.3. This issue was also noted by a few developer friends on Windows.
the flashing cursor is known to irritate a lot of developers
First time I've heard this complaint in seven years working in Spyder, so (I'm sorry to say it but) we're not going to implement this.
You're welcome to send us a pull request to implement this though.
@ccordoba12 , can you suggest me where to start if I want to implement this?
@ccordoba12
Can you reconsider your decision?
All IDE's has this option
Thanks
Pycharm
Visual Studio Code
Vim
" Disable all blinking:
:set guicursor+=a:blinkon0
Emacs
(setq visible-cursor nil)
Sublime text
"caret_style": "solid"
XCode
defaults write -g NSTextInsertionPointBlinkPeriod -int 100000
Etc.
Meanwhile, you can set this option with a quick hack by adding the line :
MAIN_APP.setCursorFlashTime(0)
after
from spyder.utils.qthelpers import qapplication, MENU_SEPARATOR
MAIN_APP = qapplication()
in file mainwindow.py
in the Spyder installation folder. For me (Win7 64bit), this file is located in:
C:\Python36\Lib\site-packages\spyder\app
Most helpful comment
Meanwhile, you can set this option with a quick hack by adding the line :
after
in file
mainwindow.py
in the Spyder installation folder. For me (Win7 64bit), this file is located in:C:\Python36\Lib\site-packages\spyder\app