Category "visual-studio-code"

command 'python.execSelectionInTerminal' not found

I am a beginner just shifted from jupyter to vs-code, whenever I try to run my code, I get: "command 'python.execSelectionInTerminal' not found" I have tried:

VIsual Studio Code error cannot open output file main.exe

This is my first project with Visual Studio Code. When i go to run my "Hello World" project I get this cd "c:\Users\imaco\Desktop\Cpppractice" && g++ ma

Error with Gradle using VS Code: "Could not run build action using Gradle distribution"

I've started getting the following error message when opening an existing Gradle project in VS Code after upgrading the Gradle installation on my computer: Cou

Where are Visual Studio Code log files?

My VS Code frequently shows an error, something like "Error: cannot read property 'name' of undefined". The 'ESLint' tag in the status bar also shows up in red

Is there a way for VSCode file associations to work for partial naming?

I would like my material-icon-theme to recognize files as docker-compose-*.yml as docker files, however the command below does not work in my settings.json "mat

Visual Studio Code and jsconfig.json

I see in Visual Studio Code 0.5.0 that the /// <reference path="../typings/jquery/jquery.d.ts"/> can be removed from the .js files and added into an overr

VS Code Extension API - Replace a String in the document?

const textEditor = vscode.window.activeTextEditor; if (!textEditor) { return; // No open text editor } for(var i=

Set language for syntax highlighting in Visual Studio Code

Before the confusion begins, this question is about Code, the new lightweight Visual Studio Editor. You can get it from here: https://code.visualstudio.com/ I

How to prevent VS Code auto importing from 'react-native-web'?

When I type View, I expect VS Code to automatically import { View } from 'react-native'; but what is does is import { View } from 'react-native-web';. The probl

Open Link in VSCode Will Create a New Web Browser Under Same Icon as VSCode

I am using VScode version 1.45 with Firefox version 76.0.1 as a default browser (with Ubuntu 18.04.4 LTS). Whenever I tried to open a link in the VSCode, it wil

VS Code - find panel/view context name for shortcut 'when' expression

I'm trying to add some shortcuts to my VS Code instance and I want to scope them using the when expression to avoid conflicts. Alas, I'm struggling to find the

Keyboard Shortcut for opening command palette in VS Code?

On windows 10 running VS Code how do I open the command pallete with keyboard shortcuts? Under the view menu it says the shortcut is ctrl+shift+P but doing that

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