Associate VSCode theme with language scopes - visual-studio-code

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.

Related

How to customize theme's semantic syntax highlighting in VS Code depending on language

I'm using Electron theme in my VS Code and it works great, but the colors of text are different accross languages (I work with .vue .js .html .ts).
For example JS
'semicoloned string': green
"double quoted string": light-green
`template literals string`: white
meanwhile in TS everything is white, and for HTML the colors are completely different.
Is there a way how to extend this theme for the same color of syntax highlighting accross all languages I work with?

Is there a way to change background color of syntax highlight in Visual Studio Code

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

How to disable syntax coloring in Visual Studio Code

I would like to disable syntax coloring altogether.
I have tried to disable parameter hints but that didn't have any effect.
Is it possible to have the editor with just a foreground/background color and nothing else?
You can add
"files.associations": {
"*.*": "plaintext",
},
to settings.json
Search the extensions marketplace for "plain theme". There are a couple which might to the trick for you: Plain Theme, Plain Light Theme and Nando Theme.
I use the Gray Matter Light theme for everything at the moment.
You could change the text language to plain text. You'll have to reset the language to plain text for each document you open but it does the trick.
A late answer.
You can write code to mess with VSCode user settings JSON (it is just a JSON), so you can customize the syntax color as you wish.
The following gist loads scopes from Python magic repo, then modifies user_settings.json in place, assigning a light gray color for Python elements:
https://gist.github.com/shuoli84/93fead0a634d711dc25494acd127c180

Change Eclipse window color

I've been using Eclipse for a while now, as we need it in class to work with xml files.
I'm rather a fan of using dark backgrounds, as I find it easyer for the eyes.
I've found this topic on how to change the theme in Eclipse, but this only changes the color scheme in the coding window.
Is there a way to change the entire color scheme for the whole program (sidebars, background color, foreground color, ...) in Eclipse like you have in Visual Studio?
offtopic: I want to do the same in NetBeans
EDIT: finally got it to work, but my color scheme s*cks.
Does anyone have a good scheme I can use or some CSS file I may import?
It would be perfect if it fits with any dark Color Theme (Monokai, NightLion Aptana Theme, Oblivion, Obsidian, Pastel, RecognEyes, Sublime Text 2, Sunburst, Wombat or zenburn). Looking at this list, I notice a lot of themes are dark. Too bad the program itself hasn't got themes (unless the Chrome Theme to change everything ourselves)
If you are using Eclipse 4, you can use the Eclipse 4 Chrome Theme to style everything in the program using CSS (or properties for the most used UI elements).
Many of the colors can be adjusted via Preferences > General > Appearance > Colors and Fonts. For things that are not configurable there, they're controlled by tour operating system color settings.

Where can I get a "Light Table" theme for Emacs 24?

I really like the Light Table color scheme but despite lots of Googling I can't seem to find an Emacs theme. I've made an attempt to recreate it but surely someone else has done this already.
It's a dark theme that looks like:
There's a load more example images on the Kickstarter page.
I made a theme based on the LightTable color scheme, I've just released it as a gist.
https://gist.github.com/3027622
FYI I'm publishing several new themes for Emacs24. There's a couple of other dark themes at https://emacsfodder.github.io/
Update
Here's a view of the font-lock (i.e. language generics, which are used by major modes to provide syntax highlighting.) definition with rainbow-mode.
Note:
In Emacs Lisp mode (CommonLisp & EmacsLisp are the closest things I know to Clojure.)
We can see that even local function usage isn't added to syntax highlighting:
(Having done a small check with clojure-mode, I can see the same thing going on there, defn's show their function name highlighted, but usage is in the default face color.)
For completeness it's probably worth adding this new answer here. There is now a LightTable theme for Emacs. It's called Noctilux:
https://github.com/stafu/noctilux-theme
Lighttable theme for Doom Emacs