Category "visual-studio-code"

How to use window.crypto.subtle in vscode webview

In VSCode Webview, window.crypto.subtle not working. The possible reason is (from MDN): This feature is available only in secure contexts (HTTPS) And in VSC

How do I open multiple instances of Visual Studio Code?

Today Microsoft released the Visual Studio Code file/folder editor. The first limitation is it appears to be a single-instance application. Is there a way of

How do I jump to a closing bracket in Visual Studio Code?

In VSCode when I type a bracket, e.g '(', it automatically creates the ending bracket: ')'. Are there any shortcuts to jump to the closing bracket or parenthesi

VSCode Vim Settings not working for remaps with "

I have this in my settings.json for preventing vim from replacing my clipboard when I delete something: "vim.visualModeKeyBindingsNonRecursive": [ {

Visual Studio Code terminal doesn't activate Conda environment

I read this Stack Overflow post on a similar issue, but the suggestions there don't seem to be working. I installed Visual Studio Code on my Windows machine and

Visual Studio Code cannot detect installed git

Visual Studio Code reports "It look like git is not installed on your system." when I try to switch to the git view. I know I have git installed and used by oth

How do I open multiple instances of Visual Studio Code?

Today Microsoft released the Visual Studio Code file/folder editor. The first limitation is it appears to be a single-instance application. Is there a way of

Why can't VSCode open files from Explorer if it was open as administrator?

I set VSCode to open as administrator on the shortcut settings. This causes a weird behaviour in which VSCode can't open other files from Explorer just returni

How to turn off the prettier trailing comma in VS Code?

How to turn off the prettier trailing comma in VS Code? I go to settings. Select none for the prettier trailing comma. Restart VS Code. Select a piece of TypeS

VSCode + Clangd: type annotations become obtrusive - how to disable?

I'm using VSCode 1.65.0, the clangd extension, and clangd from latest LLVM (14.0). It seems to have introduced a feature where it displays type-hints whenever I

How to use java .class file in Visual Studio Code?

I'm currently studying a Java course, and one of the assignments requires me to use (import) a class inside a .class file. I'm currently using Visual Studio Co

How to use java .class file in Visual Studio Code?

I'm currently studying a Java course, and one of the assignments requires me to use (import) a class inside a .class file. I'm currently using Visual Studio Co

How can I open a file in a new tab?

How do I open a new file using Ctrl+P, so it doesn't override the current file, but rather use a new tab? Also, would it be possible to focus the searched file

Vue: Failed to compile (Strings must use singlequote)

I've been working with Visual Studio Code for two days now. I try to build a Vue-Application. But always when I run the application by npm run serve, I get the

VS Code - Configuration Properties - presentation order

Following this question from ~ 3 years ago, and linked Github issues that appear to have been worked on and closed in the 1.63 build onwards, I cannot get my pa

Navigate to Ruby function definition in VS Code

I'm pretty new to Visual Studio Code, and I'm trying to edit some Ruby code. I installed Ruby support, and I enabled the language server, but Ctrl-clicking on a

tmux in vscode - slow down scrolling speed

I am trying to tweak the scroll buffer or speed of tmux in Visual Studio Code At present, I have below lines in my ~/.tmux.conf which works fine in iTerm2 but d

python.defaultInterpreterPath in vscode shows as "unkonwn configuration setting"

The old python.pythonPath has been deprecated in the latest vscode 1.64.1 and replaced by python.defaultInterpreterPath. However, when I set it in projectname/.

Autopep8 format "max-line-length" parameter is not working for the imports section

I'm using autopep8 auto-formatter in VSCode (MacOs) but I can't seem to make it work to split lines greater than max-line-length in the imports section. In the

How to hide properties and methods with an underscore in VSCode Intellisense?

I develop in Javascript with VSCode, and I don't want Intellisense to show class properties and methods which are private (i.e. with an underscore). Is this pos