Where is `git add` in Visual Studio Code?
I eventually found it: the command is called Git: Stage Changes. Visual Studio confusingly deviates from Git terminology here. There is a (sadly closed) GitHub issue regarding this problem.
I eventually found it: the command is called Git: Stage Changes. Visual Studio confusingly deviates from Git terminology here. There is a (sadly closed) GitHub issue regarding this problem.
Updating background color Since you need to update background only. The only issue in your config earlier was there was no alpha channel specified. You can update it like below “workbench.colorCustomizations”: { “diffEditor.removedTextBackground”: “#FF000055”, “diffEditor.insertedTextBackground”: “#ffff0055” } Where 55 is the alpha channel value. The updated values will have below effect Why it’s not possible … Read more
As @adamesque stated, to exclude files from quick open you can either add them to files.exclude or search.exclude setting. The issue then is that Quick Open also stores recent items, even from excluded paths. Fortunately, VSCode now have a command File: Clear Recently Opened! EDIT: As I needed to replace a Disk path while keeping … Read more
Those are Inlay Hints. You can enable (the default) or disable them with the setting: Editor > Inlay Hints: Enabled or change the Font Family or Font Size by searching for Inlay Hints in the Settings UI. And there is finer control for parameter names/types, variable types and more for js/ts files. For a lot … Read more
There’s a simple solution now. You can append the following line to your launch configuration: “console”: “integratedTerminal” See vscode-go issue #2015
In the preview version of VSCode it is not yet possible to pass arguments to node from the launch.json. But the workaround mentioned above works fine. I have created a bug on our side and will make sure it’s fixed with the next release. Andre Weinand, Visual Studio Code Update: The fix is in VSCode … Read more
It looks like you can dock or hide the debug tool bar: To hide the debug tool bar change the “debug.toolBarLocation” setting to hidden. Either floating in all views, docked in the debug view, or hidden. Docking is better than floating and hidden. Adding the extension mentioned in the other answer is also helpful.
Now, the feature has been implemented, you can enable format on save: Open Settings (Ctrl + ,) Search for editor.formatOnSave and set it to true Your Go code will be formatted automatically on Ctrl + s
Here is a supplemental image (VS Code) to the Danny’s answer:
To answer the first part, if you add this to your workspace or user settings, vscode will no longer automatically show the currently active file in the file explorer. “explorer.autoReveal”: false To answer the second part, if you like to have the current file focused but you don’t like having the explorer section expanded all … Read more