VS Code theme issue - visual-studio-code

I'm not sure what has happened to my theme on VS Code but before when I declared an integer it would light up into the light blue color. Now it doesn't for some reason, and I could figure out how to change it back. (My code still works and functions find)
As you can see the: n, n_a, and etc. variables should be a light blue color.

You appear to have changed your theme, to fix this go to File > Prefrences > Color Theme or CTRL K + CTRL T to hotkey to this menu where you can select a theme. The page should look something like this seen below.
From here either navigate to your old theme or find a new one you like. If your old theme was for some reason deleted click Install additional Color Themes and Navigate the included menu and find something similar.
For more information on creating your own theme go here - https://medium.com/wearelaika/vscode-create-your-own-custom-theme-extension-96c67bd753f6

Related

How to change the vscode status bar colour back to its default colour?

As you can see the colour of status bar and the title bar has turned to Reddish-Brown.
I haven't made any changes and it automatically got changed.
How to I bring it back to its DEFAULT MODE.
My settings.json file
Go to Preferences -> Color Theme and select one of the standard VS code themes (Dark, Dark+, Light, Light+).
Maybe you have the Window Colors extension installed? If so, try disabling it.
Are you using a workspace? If so, maybe there is a .vscode/settings.json file in the workspace containing the color settings?

VS code icons disappeared

File icons in my VS Code disappeared when I installed Material icon theme and disabled it but now when I'm enabling this extension or reinstalling it, icons are not appearing. Even the default VS code file icons which were there before installing the extension have somehow disappeared as well.
Based on my own experience, the theme was being deselected due to some reason (e.g installed a new theme, application update and etc) may also cause this issue,
you can fix it by re-select the icon theme:
Open VS Code, go to File > Preferences > File icon theme > [Theme name] and choose your icon theme.
You need to set “workbench.iconTheme“: “material-icon-theme“.
Then reloading the window should fix it.
In VS Code, Go to extensions Ctrl + Shift + X .
Under installed extensions, select the vscode-icons extension. And Click on Set File Icon Theme, as shown in figure below, then press Enter
I had to install the extension again.
I am on Mac, so I had to go to Preferences -> Extensions, and searched for Material Icon Theme, installed it and relaunched the IDE.
Checking if folders theme is set to 'classic' worked here. If so, either deselect it (1) or remove the line in User Settings (2):
In my case i had installed 'Material Icon Theme' extension but it it was not working. So i had to go to extension section of VS code, click on 'Material Icon Theme' extension (already installed). And click on 'Set File Icon Theme' button, a dropdown with 'Material Icon Theme' will be displayed. Select it and it will work.
I was having a similar problem except with more of the main icons in code missing too, but the above didn't help although it's best to check them first.
I resolved my problem by fixing the registry item:
Computer\HKEY_CLASSES_ROOT\.svg
setting "Content Type" Data to "image/svg+xml"
(mine was incorrectly set to "text/xml" unsure why)
ctrl + shift + p then search for the activity bar then enter

How do I modify Darcula error highlights in IDEA?

I love the Moonrise UI theme for Eclipse. However I have grown less fond of Eclipse and am trying to switch to IDEA. One of the things I miss most though with the Moonrise theme is how nicely it highlights compile errors and warnings. It highlights the text background red and yellow respectively.
Errors and warnings in IDEA's Darcula theme, however, are not so obvious.
How do I modify the Editor pane colors in IDEA to format errors/warnings exactly like Eclipse Moonrise and highlight the background red/yellow?
Go to Settings/Editor/Colors and Fonts. If you haven't modified the theme before, save it first using Save As... button, because you can't modify the default one.
Then go to General and find Error and Warning items in the list. Uncheck the Error Stripe Mark and Effects checkboxes and check the Background checkbox. You can then select the color by clicking on the color selector next to the checkbox.
Screenshot:

Change 'fixes' background color in eclipse

I've been trying to change the background color for the 'quick-fixes' pop-up (the pop up that lists ways to fix an error) in eclipse juno. Currently the color is black and the text is blue which makes it very hard to read.
I cant find the correct way to change the color. Please help. Its really annoying to squint and have to read blue text on a black background.
This was driving me nuts as well, here is the fix.
Go to preferences.
Search for "Annotations"
for each Annotation Type:
if "Text as" == "Highlighted" and Color == black:
Set the color to light or uncheck "Text As"
In this screen shot, I am fixing Occurrences.
The problem I show to the left is the "Matching Tags" annotation which had the same problem.
You can change the color of the text in the pop-up.
In windows you can go Control Panel, search for colors and metrics and then select Change window colors and metrics. In the item menu select Hyperlinks and change the Color.
EDIT: This fix is valid for Windows 7. Windows 10 does not have the option to change Hyperlinks color.
Right Click anywhere in the Editor Window, and at the bottom of the context menu select Preferences. This will bring you into Java -> Editor. At the bottom ofthat window select the element colors you wish to change, in your case Parameter hints background and Parameter hints background or Completion overview background and Completion overview foreground, depending on which one it is you are having a problem with.
From what I found, I do not think you can change the color. I am not willing to go to Eclipse source code and find it but here's what fixed it for me. Not perfectly but to a level I can use the quick fix. In my case, the background and foreground was same. (Luna, Dark Theme, Using Solarized Editor Theme).
Go into the Preferences (Window -> Preferences)
Choose General -> Appearance from the left menu
Uncheck the checkbox Use mixed fonts and colours for labels
The detail is in this post. How to change the highlight color in autocomplete box in Eclipse

I want to change the color of the text editor of Eclipse easily!

Eclipse is a default, and a background color is white,
but many developers uses the dark color (black) and thinks whether it is used the letter color with white or green.
I can't find tools which the color template can change an editor color of Eclipse by a blow very much.
Do you know featured WEB sites.?
If get possible to choose dark color among a beginning like MIFES, makes me Happy
I don't fully understand your question but for changing Eclipse's editor background color just go to menu: Window > Preferences, and in the dialog go to General > Text Editors. In that form just select Background color from the list Appearance color options and use the color picker in the right to change it. For other formatting options go to General > Colors and Fonts in the same dialog.
NOTE: All these formatting changes are saved in your workspace if you create a new one it'll start with the default settings
As a very late follow-up (just found this via search), there is now Eclipse Color Theme, a plugin you can grab from the marketplace. It enables you to use color themes from various sites and load them directly.
They even got a few relatively close Netbeans-lookalikes (that's why I was looking for one).
If you mean "themes" as Netbeans has "Dark pastels" theme - then Eclipse currently doesn't have this feature.
In the newer version of eclipse, we have an option Switch to Theme...
This should resolve the issue.