Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [vscode]

Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS.

-2
votes
0answers
8 views

vscode lauch too much powershell instances, and take up a lot of memory

my vscode version is : enter image description here and the memory status: enter image description here
-1
votes
0answers
18 views

VS Code scrambled all my code

I am learning C++ and was making a little game using Visual Studio Code on Debian Linux. I wanted to change the name of a function, so I used the 'Change all occurrences' -> Right click on function ...
0
votes
0answers
11 views

Visual Studio Code Extensions

I have just started using Visual Studio Code but my concern is that since there are many similar extensions for a particular Programming Language, if I install two or more extensions that have support ...
0
votes
0answers
18 views

VSCode - sudo usage switches keyboard language

I'm on MacOS - Mojave with Code version 1.30.2 I'm experiencing som weird error in Visual Studio Code. I need to run it as super user / sudo because i have a ssh mounted directory and git running - ...
0
votes
0answers
18 views

Visual Studio Code doesn't open without internet [on hold]

dns.js:246 this._handle = new ChannelWrap(); ^ Error: EFILE at new Resolver (dns.js:246:20) at dns.js:377:25 at dns.js:431:3 at NativeModule.compile (bootstrap_node.js:606:7) at ...
0
votes
0answers
12 views

VSCode generates Icon file

Every time I start a project in VSCode, either just on my machine or by cloning a repository, VSCode generates this Icon file. It only happens when I work on my mac, so even if I start a project on my ...
-2
votes
0answers
6 views

Is it possible to force the Vscode command “Toggle Block Comment” to use JSDoc style block comments?

On the Ubuntu 18.04 version of VScode 1.30.1 (see below for full version info), if I use the default hotkey Ctrl + Shift + A, it runs the command "Toggle Block Comment." I run it on the below ...
1
vote
0answers
8 views

VSCode doesn't open Files imported with absolute PATH

I have a React Application. I am importing some components, and I want to click ALT+File name in the import in order to navigate to it.(Linux Ubuntu). Mapped it to Alt instead of CTRL. In files with ...
0
votes
0answers
18 views

formatting/beautifying of paragraphs in text editor

I have some html pages that are text heavy with a long sequence of many paragraphs. When I format/beautify the code the subsequent paragraphs get indented and squeezed to the point where the lines of ...
0
votes
1answer
16 views

vs code: How to set chrome as the default browser instead of Edge?

I'm trying to serve a React project live on chrome, but it always opens on Microsoft Edge. Following some answers, I changed the settings like so: "liveServer.settings.CustomBrowser": "chrome" "...
0
votes
0answers
18 views

visual studio code extension

Before I reset my pc I was using visual studio code and python a lot Until after I reset it I forgot to transfer the settings over and so I lost all my extensions. I now cannot find an extension. (I ...
0
votes
0answers
32 views

I'm trying create new C# project in VSCODE

I'm trying to create new C# project in VSCODE and when i try to do "dotnet restore" it doens't work. error : Unable to load the service index for source this error keep showing up My error message ...
0
votes
0answers
7 views

Webpage not opening when using Debugger for Chrome extension in Visual Studio Code on Mac

I have downloaded the Debugger for Chrome extension for Visual Studio Code on my Mac (mac mini late 2012). I have set up the launch.json as follows: "version": "0.2.0", "configurations": [ { ...
0
votes
2answers
34 views

Why am I having a “%” sign between the lines in integrated terminal in VS Code?

I was trying to setup zsh shell with oh-my-zsh in vs code. But in the left prompt why there is a "%" sign between lines? How to remove the "%" marked in the screenshot?
0
votes
0answers
7 views

React Native NPM run eject error Visual studio [migrated]

I'm trying these days to run a react native project following the steps by a tutorial. Everything was running okay until when I ran this command like the man of the video does: npm run eject But I ...
-1
votes
0answers
43 views

Visual Studio Code Issue on Windows Subsystem for Linux

I am using xming gui to run vscode(Visual Studio Code) But when I run vscode. I can not move the screen. The tabs are movable. However, vscode itself does not move. Window size conversion is also ...
0
votes
1answer
11 views

Keyboard shortcut to move between highlighted fields in Visual Studio Code snippets?

I was trying to use the snippet completion for the Javascript "Array.prototype.forEach", which brings up a snippet with two highlighted fields (one for the array, and the second for the array element ...
0
votes
0answers
13 views

VScode Please install clang or check configuration `clang.executable' error

I am using vscode. In notifications, there is a "Please install clang or check configuration `clang.executable'" error. I do not have the admin right, so I cannot install LLVM as other solution ...
0
votes
0answers
23 views

Powershell Display Error

Q: how to change my powershell back into normal? (not for legacy mode) Discription: powershell always open in wrong display mode, and the solution I've searched on web not work. As shown, I can not ...
1
vote
0answers
11 views

How to perform basic calculations in VS Code Tables? [migrated]

Does anyone know of a way to perform calculations such as AVG, SUM, etc in Visual Studio Code tables? I have Table Mode extension installed, but it does not support calcs. There is another extension ...
1
vote
0answers
12 views

Change size of backticks in VS Code

I use Sublime Text, but I'm trying to switch to VS Code. When I type a backtick (`), in VS Code, they are extremely small, a tremendous irritation to delete them, the automatic closing, but they are ...
0
votes
0answers
11 views

Arduino IDE path for VS Code setup

Arduino IDE installed as an App (in Windows 10), so this path ("arduino.path": "C:\Program Files (x86)\Arduino",) doesn't exist, what is the correct one?
0
votes
0answers
17 views

VSC - how to set the name for new files

when using the built-in refactor tools (ctrl+.), I get the option 'Move to new file'. It works pretty well, but I can't set the name of the new file. This is a problem because the default is ...
-1
votes
0answers
8 views

Go back to the tab that is replaced by a preview tab in vscode?

When I use "go to definition" in VSCode, a preview tab will open, sometimes it takes the place of an existing tab, how can I go back to that tab? P.S. I don't want to close preview, just want to go ...
0
votes
1answer
16 views

Everytime I open iTerm my .zshrc file gets a new vscode Path line

# iTerm # CMD + D to split screen (left right) # CMD + D + Shift to split screen (up down) # Add Visual Studio Code (code) export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/...
1
vote
1answer
106 views

The terminal process command 'C:\Windows\System32\cmd.exe' failed to launch (exit code: 2)

Yesterday while working in VScode an error suddenly popped up: The terminal process command 'C:\Windows\System32\cmd.exe' failed to launch (exit code: 2) Now I cannot use the integrated terminal of ...
0
votes
0answers
8 views

is remote pairing within VScode with user tags possible?

is there something along the lines of atom-pair available for VScode? so two or more users could collaborate in a document and livecode [ideally with user tags] the purpose of this is for livecoding ...
0
votes
0answers
23 views

How to make Option key work on Visual Studio Code on macOS

I want to use Option+F to forward a word on Visual Studio Code on macOS. How to make it work?
0
votes
0answers
17 views

How to make tabs in VS Code to behave like tabs in Chrome?

When I close a tab in VS Code it will open the previous opened tab, is there a setting to change this behavior? I would like it to behave like Chrome, when a tab is closed the next tab on the right ...
0
votes
0answers
8 views

Disable VSCode code completion for stuff like AudioProcessingEvent

VSCode seems to offer a lot of suggestions when coding in javascript. For example, here I want to write "assert", but instead get all these: In this case, I don't have assert defined anywhere in the ...
0
votes
0answers
5 views

Ubuntu force default program open?

In my ubuntu, I have Firefox browser and VS Code installed for text editing (it's like notepad++ on windows). Sometimes I have files ending with .html. If I double click them, VS Code opens. I tried ...
0
votes
0answers
12 views

How integrate addons-linter with vscode?

How integrate addons-linter with vscode? Its may be like atom-webextensions: https://github.com/rpl/atom-webextensions
0
votes
1answer
20 views

VS Code stopped showing (some) images in Markdown preview

I currently keep all of my notes as Markdown files. Those files contain mainly links, and for some extra flair, I include the favicon of the site in front of them like this: # Git ## Tutorials - ![]...
0
votes
1answer
22 views

How do you close the commit panel in VSCode?

How do you close the commit history (source code management) panel in VSCode? The left side of this image: Without quitting the application or something else so drastic.
2
votes
1answer
26 views

VS Code: moving the cursor to the line above (same position)

In the VS Code for Mac, is it possible to move the cursor to the line above at the same position (as the previous line)? Currently, the cursor is being placed to the beginning of the line when moved ...
0
votes
1answer
48 views

Why does it show “Open with Code” on context menu on desktop?

After Installing VS Code Why does it show "Open with Code" on context menu on desktop? Why does VS Code considers windows desktop as something which can be edited with VS Code?
1
vote
1answer
55 views

How can I tell what command palette action is being executed on a VSCode dropdown helper action?

This action here is behaving weirdly for me. I'm not sure what he terminology is - but the dropdown menu you get as you type. Is there a way to see what action or extension is being used to use ...
0
votes
1answer
95 views

Can notepad be replaced with VS code?

Is it possible to replace Microsoft Notepad on Windows 10 as the default editor with VS Code? This repo (https://github.com/grumpydev/Sublime-Notepad-Replacement) shows how it's possible to replace ...
1
vote
2answers
303 views

How to quick search files in whole workspace (Visual Studio Code)

I'm asking for a method similar to Ctrl+P but that searchs in all workspace (but not in ignored foldres like node_modules or .git folders). Ctrl+P searchs in recent opened list. I am searching some ...
0
votes
0answers
14 views

Navigate to Typescipt type interface from [ts] warning?

I get a Typescript warning in VS Code: code: <video autoplay={true}> warning: [ts] Property 'autoplay' does not exist on type 'DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, ...
0
votes
1answer
28 views

Tab key all the sudden creates <tab></tab> tags in .tsx files. How do I stop this?

Tab key all the sudden creates <tab></tab> tags in .tsx files instead of creating the tab whitespace character. Tab behaves normally in other file types and outside of VS Code. How do I ...
1
vote
1answer
167 views

Windows 10 adds ---open-url to registry value for default program open command

I am running Windows 10.1803, build 17134.320. I am trying to get .asp files to open with VS Code. I went through the normal process, but no matter what, Windows would always ask me what program I ...
2
votes
1answer
38 views

Keep tab open after opening file - keyboard shortcut.

I can open a file with ctrl + p with VSCode, and that's good. But I want to make the tab stay there (be non-italicised), using a keyboard shortcut. (The only way I know how to do this is to either ...
0
votes
0answers
12 views

VS ccode: how to customized an extension keyboard shortcut?

Example: I have installed the extension open file in app. By default, it runs application by pressing ctrl+shift+o. But I want to use another shortcut (eg: shift+f5). What is the recommended way to ...
1
vote
0answers
29 views

Is there a way to programmatically open VSCode and then open the built-in terminal in VSCode on Mac?

I am trying to automate the process of opening VSCode and then opening its built-in terminal. I know I can open VSCode easily, but I don't know how I can communicate with VSCode once it is opened. Is ...
1
vote
0answers
55 views

Why Visual Studio Code's Debug Console output is escaped and how to fix it?

Currently when I launch a program with LLDB debugger in Visual Studio Code, for some reason I'm getting escaped stdout output in VSCode's Debug Console. For example, my program outputs this: Playable ...
1
vote
1answer
72 views

Open file from VSCode file explorer using keyboard?

I have switched focus to the explorer using cmd+shift+E. I have selected a file in the explorer using the arrow keys. I have found that ctrl+enter opens the file in a new tab. How do I preview the ...
0
votes
0answers
16 views

How do I create my own palette command on VS Code?

I'm familiar with VSCode Snippets, and those are easy enough to create. What I'm wanting to do is reproduce something similar to Angular's ng create component foo/MyBar. Essentially: create a ...
1
vote
0answers
23 views

Atom Editor and VS Code turn volume up all the way when opened

I've found that consistently VS Code or most of the time when I open Atom Editor my system audio volume suddenly turns up to 100%! I am running Arch Linux with Cinnamon Desktop. These editors are the ...
2
votes
1answer
35 views

In VSCode how do you select a whole word with - in it?

IE: say I double click "LAYOUT:MENU-TRADE": I want to select the entire constant. Or at least the entire MENU-TRADE part. In atom I can accomplish this by removing - as an ignored character. How is ...