VS Code 1.15.1 The Run Code Toolbar Not Appear in Green Color as It Used to - visual-studio-code

I need a help. I read VSC Debugging doc and about launch.json. Nothing has helped me so far when searching for an answer on this specific issue in STO and VS Code documentation.
I've been annoyed, frustrated by this little bug in my Visual Studio Code 1.15.1. I worked on python project and things were good and with the run code triangle toolbar on the top right appeared in green color. Then I worked on C project. But when I wanted to go back working on a python project, the run code toolbar did not appear in green color like it used to. I've never changed anything in the setting.
the run code toolbar/button appeared in green color
the run code toolbar/button not appeared in green color
Do I need to install AutoLaunch 2.0.3 (Automatically run tasks in tasks.json or launch config in launch.json ) in order to get the green color back on the Run Code button/toolbar?
I just want simply the green color back. What should I do to get that green color back on the run code triangle toolbar? What setting I should change? I was thinking uninstalling my VS Code and reinstalling it should solve this issue.
Thanks in advance.

Related

How to get RStudio-stop icon in Visual Studio Code

I have used to watch the red icon in RStudio showing that a script is being executed. It is very intuitive, clear, and handy as a stop button.
Red stop icon in RStudio
How can I get a similar icon in Visual Studio Code using the R extension, indicating the (R)terminal is running some code? Or are the missing + sings a reliable indicator of a running process? However, they do not work as a stop button, obviously.
The settings for the R extension do not give any relevant results with #ext:REditorSupport.r stop or #ext:REditorSupport.r buttonor #ext:REditorSupport.r running.

Why there are no colors in the code text in Visual Studio Code?

Code Text Colorless
When I code in Visual Studio, it doesn't show any colours in the code text. It shows blue and green colours only for the class and comments texts. Also, VS doesn't suggest me anything when I code. Apart from this, everything things run fine and if there are any errors it shows up in the problem section.
I am doing flutter/ dart
I would really appreciate it if anyone helps me sort it out.
Thank you :)
Happened to me today, hope it helps someone: in my case it was just a broken extension JavaScript and TypeScript Nightly from Microsoft. After uninstalling, everything went back to normal.
I think the issue is likely the VS Code theme you're using. Dark (Visual Studio) only shows limited colours - try changing it to Dark+ and you should see more colours.
Dark
Dark+
To Change This Settings;
Setting Icon > Color Theme > Select Dark+ Configuration;
This issue was fixed, once I updated VS code and restarted it. The text colour for every widget and class was back after that.
I am not using VS but you might try to add Flutter and Dart extension from marketplace.
In VS Code, open the Color Theme picker with File > Preferences > Color Theme. (Code > Preferences > Color Theme on macOS).
You can also use the keyboard shortcut Ctrl+K Ctrl+T to display the picker.
Use the cursor keys to preview the colors of the theme.
Select the theme you want and press Enter.
What worked for me was checking if I had any deprecated or problems with an extension. Go to extensions in vs code (or ctrl+shift+x) check if any of your installed extensions has a problem; a warning yellow sign should appear below if your extension is deprecated or has any other problem. Fix the faulty extensions.
You can try installing "Flutter Widget Snippets" for already written code snippets from VS code Extensions.

Highlighting problem in Jupyter Notebook - VSCode

Lately when using Jupyter Notebook in VS Code to write some assignments for my studies I ran into a quite annoying problem - whenever there is a mistake in my code cell that prevents it from running, the "traceback" (or however you call it) to the place where the error persists is colored with a high-contrast marker (the color depends on the theme used) and makes the content pretty much invisible unless you manually "select" it with the mouse coursor. Is there any way I could fix it without going too much in-depth into VSCode/Jupyter Notebook extension settings?
The highlighting looks like shown below.
Yellow syntax marker problem.
And another one here.
I tried all the themes preinstalled with VS Code such as Monokai, Solarized Light etc., and also a custom theme of my choice called Dracula.
Thanks in advance.
This issue has recently reappeared. While the issue is being fixed you can change the highlight colour within the vscode settings.
Open settings and search for "Workbench:ColorCustomizations"
Image of settings page
Create or alter the "terminal.ansiYellow": "#eed202" to a more appropriate value like "terminal.ansiYellow": "#9b4550". See the linked image.
Credit for this fix: https://github.com/microsoft/vscode-jupyter/issues/8717#issuecomment-1241776226
I also have this problem. It looks like they fixed it less than 1 month ago as of writing this, so it may go away if you update to a recent pre-release of Jupyter in VS Code. Personally, I am going to live with it until the next stable release.
My version of Jupyter in VS Code:
Screenshot of Jupyter Versions
Screenshot of vscode-jupyter github: Screenshot of vscode-jupyter github
https://github.com/microsoft/vscode-jupyter/issues/8697

VS Code debugging insanity

VS Code Version: 1.47.3 running on OSX Catalina 10.15.3
I've been debugging the current extension project for the past few days without any issues.
Then suddenly, insanity enters my life.
The debugger is still running. Breakpoints have all turned to hollow circles and say they are unbound. The code still stop on these breakpoints, but the line is no longer highlighted, just has a greyish outline, and the variables now show their definition, not their values.
I feel like I have hit a keyboard shortcut and switched to some obscure, unhelpful debug mode, but I cannot find a setting or shortcut that describes doing such a thing.
What did I do, how do I get back to normal debugging? Can anyone help?
Here's screenshot, the debugger is running, the grey outline box is usually filled yellow, or green, the breakpoint is usually a filled circle, and mouse over usually shows the value on the variable, not any more :-(
Tried changing many settings, nothing worked.
Then deleted the node_module folder and ran npm install, et voila!
What changed in there I have no idea. Nothing was installed or removed for some time, but there you are, the mysteries of VS Code debugging.

How colors the debug console vscode

It possible to have color in console debug.
at left it what i have on nwjs, and at right it what i have in vscode.
which plugin or parameter to add in vscode to get a result similar result to the one on the left.
thanks
Edit: see texts and objs log colors. Firefox,chrome have color syntax, but am not understand why vscode doesn't have it ? It essential for dev productivity.