Migrated from VSCode to VSCodium because "Microsoft bad". Developing python applications seems to be missing some of the code colors like the modules in turquoise or local variables in light blue in the "Dark +" theme, visible in the comparison below:
Left: VSCodium. Right: VSCode
Is the right style of code highlighting Microsoft only or am I missing an extension? I tried Manage>Settings>tokenColorCustomizations but the available types like comments, functions or keywords are not python specific, so doing it manually probably won't do the trick.
Related
My vs code is not highlighting my python text. it does not color change the variables and imports etc. Only the strings and some other parts of the text.
I have python and pylint installed, I am also using the dark+ (default dark) as my color theme. I have also tried other options like the github dark theme, but same results. I am on windows 10.
any help
I had this problem recently and I fixed it by removing an outdated python extention, it's name was 'Python for VSCode' by Thomas Haakon Townsend.
I hope this helped.
I've tried installing oh-my-zsh on my Windows 10 machine recently and everything is looking alright inside Windows Terminal,
ut when I try using it inside VSCode's integrated terminal, the colors are way off and the arrows' colors are different from the rest.
Imgur link to what my terminal looks like since Stack Overflow won't let me post any photo: https://imgur.com/a/3myV6wf
I've tried multiple Powerline fonts, modifying VSCode color theme and changing the terminal foreground color, but the result is always the same.
Thanks in advance for your help
I was perplexed by this as well, turns out it's something that recently broke in VS Code as a result of a new accessibility feature introduced in version 1.66. The solution is to add the following to your VS Code settings.json file:
"terminal.integrated.minimumContrastRatio": 1,
Enforcing a minimum contrast ratio for terminal colors is a great idea that will help users with impaired vision, but an unintended consequence was that it would interfere with the way powerline-style tools render separator characters. Thankfully Microsoft offered us a way to disable it.
I've made a new color theme in VSCode, very happy with it too. I just followed the instructions using yo code and created a new theme from existing and followed the process.
My new theme is now there in extensions and selectable from the 'color theme' menu which is great but I've noticed a bit if a killer issue. When my theme is selected there is no syntax highlighting for any of the languages I use ( python, javascript, powershell, go, html and so on ). All the text in the editor is plain dark grey. I don't think I changed anything in the theme to change syntax highlighting (to my knowledge).
How can I get syntax highlighting back? Weird because intellisense and code completion (for each language) is still working fine.
Would appreciate any pointers.
I was looking for a better code editor for my projects and wanted to give VSCode a try. But I couldn't find where to customize the syntax highlighting settings. What I actually need is to change the background color of embedded languages within a file so that I can identify different parts of the code a lot easier.
I have this PHP file which contains, HTML, CSS and JavaScript and I'd like to set different background colors for all 4 languages within this single file. Is this possible with VSCode? or does anyone know a code editor that supports this? UltraEdit supports this but it has so many other shortcomings.
Not possible #3429 Themes don't support background styling
Hello,
I have been using vscode (Visual Studio Code) text editor for couple of days. I have come from Spyder IDE for python. I am developing a great likeness towards vscode. It encompasses all of my needs to python programming with also being lightweight.
However, one thing that I am missing and wish it were here in vscode is cell highlighting. Though the editor has feature to segment the code into several cells by typing # %% before a block, it lacks the feature to highlight the cell where mouse pointer is hovered on.
Maybe, there is an option there in settings.json but i don't know where it is in particular. Though it is not a great lack or causes major issues but i like to enable this feature in my vscode editor.
Below pictures illustrate my point.
Previous image is the visual studio code editor and the below one is for Spyder IDE.
It seems it is supported now.
Bellow there's a screenshot for the current version of VSCode using Microsoft's Python extension.
If this answers the question, please, inform as answer.