Relative Content

Tag Archive for visual-studio-codevscode-extensions

Multi line text editor decoration using vscode.window.createTextEditorDecorationType()

I am trying to create a simple extension. This extension displays some text on an active text editor as ghost text only when the editor is empty, i.e., there is no text typed into the editor. But the moment something is typed in the editor, the ghost text must disappear and once again reappear when anything that has been typed is deleted out.

Cannot read property ‘uri’ of null

I was unable to install C# extension on VScode version 1.19.3 with error Cannot read property ‘uri’ of null. Does anyone know what could possible cause it?

The java extension code runner does not run programme 2nd time in git bash?

KIIT@DESKTOP-8FKKR3P MINGW64 /e/Code/Sat
$ /usr/bin/env C:Program FilesJavajdk-20binjava.exe -XX:+ShowCodeDetailsInExceptionMessages -cp E:CodeSatbin Recursion2.QuickSort
Enter the length of the array : 2
Enter the element at [0] : 6
Enter the element at [1] : 1
1 6
KIIT@DESKTOP-8FKKR3P MINGW64 /e/Code/Sat
$ ^C

VSCode – How to disable automatic symbol renaming?

For the last week or so I’ve noticed something new in VSCode where sometimes when I highlight a variable, it’ll highlight that variable and all other instances of that variable in red. When I change the name in one location it’ll change it elsewhere automatically. Functionality that’d be neat in its own right but I can’t figure out how to turn it off and it’s incredibly disruptive, see screenshots. Unsure if it’s a new feature or some shortcut I accidentally enabled but I’ve tried looking through the release notes and bisecting my extensions to make sure it’s not that and haven’t had success.

vscode setting location for workspace disabled extensions

Where does vscode store the fact that an extension has been disabled for a workspace?
I see that workspace extension recommendations are stored in ./vscode/extensions.json
but I can’t find where the setting is stored for disabling extensions in a workspace.