I am using Spyder IDE to develop code and the IDE currently has default end-of-line character set to be CRLF. I would like to use '\n' instead because all my existing source code uses '\n' and so I don't want to have a bunch of new files that use a different end-of-line character.
Is there a way to specify the default end-of-line character in Spyder IDE? If yes, how?
Use the "Default Programs" interface and select the executable for your Spyder,try the "Set Associations" menu and use browse to select your executable. just need to be patient, to wait for a few seconds.
Press CTRL+SHIFT+ALT+P to open the Preferences window. Within this window, select the Console item on the left, then the Advanced Settings tab. The path to the Python executable will be right there.
I run Spyder from an Anaconda PowerShell Prompt, so when Spyder stalls, I can go to the shell and use Ctrl+c to kill any process.
(Spyder maintainer here) To configure the end of line characters you want to use, you need to go to the menu
Tools > Preferences > Editor > Advanced settings
then to the section End of line characters
and select the ones that Spyder will use on save.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With