I'm new to Spyder(version 2.3.0dev6) and I want to change the background color of my IPython console(version 1.1.0). I can change the background color of console but not the IPython console. I also tried in the "Run configuration", "general settings", "command line options": --color=linux, but nothing happened.
(Spyder dev here) You need to update Spyder to 2.3.0beta1, which has this option under:
Tools > Preferences > IPython console > Background color > Dark background
Related
I am using iterm2 with powerlevel10k font and a color theme.
For example, the green color in my iterm2 is showing in vscode integrated terminal as grey.
Why are they not the same? and how can I make them the same?
Below are few terminal settings of my vscode
{
"terminal.external.osxExec": "iTerm.app",
"terminal.integrated.shell.osx": "/bin/zsh",
"terminal.integrated.fontFamily": "MesloLGS NF"
}
iTerm2:
VSCode integrated terminal:
I'd like to use the Python extension for VSCode,
but it depends on the Jupyter extension (see Q&A here).
I don't use Jupyter on most of my projects and therefore is not installed in my virtual environment.
This causes the Jupyter extension to keep popping up a warning which cannot be dismissed
that it "Failed to start a session" (because Jupyter is not installed).
Is there a setting in the extension that I have overlooked to suppress this warning?
Could you try turning the setting Jupyter->Disable Jupyter Auto Start to true? We have code that tries to autostart a jupyter server or kernel (if you used it before) early. Turning this off should suppress the prompt.
File > Preferences > Settings
Now expand "Text Editor"
"Suggestions"
"Edit in Settings.json"
Now you can disable all notifications or only for an extension.
I noticed that if I open WSL terminal natively it doesn't have these bright colors and it's much more visible... When I change VSCODE's color theme terminal font coloring follows but never gets better :)
vscode color theme #1
vscode color theme #2
native WSL terminal
As far as I know, you cannot change at all the vscode terminal colors (neither on wsl) as those are defined at workbench.colorCustomisations setting.
These are the available customisation keys provided at VSCode Theme Color:
"workbench.colorCustomizations": {
"terminal.background":"#1D2021",
"terminal.foreground":"#A89984",
"terminalCursor.background":"#A89984",
"terminalCursor.foreground":"#A89984",
"terminal.ansiBlack":"#1D2021",
"terminal.ansiBlue":"#0D6678",
"terminal.ansiBrightBlack":"#665C54",
"terminal.ansiBrightBlue":"#0D6678",
"terminal.ansiBrightCyan":"#8BA59B",
"terminal.ansiBrightGreen":"#95C085",
"terminal.ansiBrightMagenta":"#8F4673",
"terminal.ansiBrightRed":"#FB543F",
"terminal.ansiBrightWhite":"#FDF4C1",
"terminal.ansiBrightYellow":"#FAC03B",
"terminal.ansiCyan":"#8BA59B",
"terminal.ansiGreen":"#95C085",
"terminal.ansiMagenta":"#8F4673",
"terminal.ansiRed":"#FB543F",
"terminal.ansiWhite":"#A89984",
"terminal.ansiYellow":"#FAC03B"
}
There is a good website with some color templates: VSCode Base 16 Themes
This falls in between Powershell and vs code - I think.
Note: I am on a mac terminal and opening pwsh(Powershell) - where I have create a mac terminal profile, using blue colors.
I have setup the terminal profile - Powershell colors following this
Then when I open vscode with "code ." from within Powershell(pwsh)it changes back colors for the terminal starting the vscode.
Do you know where it I can change this?
Tab completion in IPython is practically unusable because the text is so difficult to read.
Here's what I've tried:
I didn't have an ipython configuration file so I created one:
ipython profile create.
In my ipython_config.py I set c.InteractiveShell.colors = 'NoColors'. That made all my text white but the completion text didn't change.
I'm using the following software:
kitty terminal: 0.14.1
IPython: 7.5.0
Pygments: 2.4.2
prompt-toolkit: 2.0.9
I found a solution. It seems my terminal is using 24bit color and that must be interacting poorly with the defaults of IPython which defaults to 256 colors. You can test your terminal with this command:
printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n"
If you see 'TRUECOLOR', then your terminal supports true color.
I set that in my ipython_config.py file: c.TerminalInteractiveShell.true_color = True. Now the completion text is readable.