Questions tagged [visual-studio-code]

Visual Studio Code is a cross-platform source code editor from Microsoft.

Visual Studio Code is a cross-platform source code editor for Windows, Linux and OS X, created by Microsoft.

More information:

817 questions
144
votes
4 answers

How do I back up my VS Code settings and list of installed extensions?

I've just been through the VS Code installation process twice. The initial install is quick and painless (as is the editor itself), but I have had to remember the list of extensions I installed and am installing new ones a great rate. With Sublime…
Astravagrant
  • 2,295
122
votes
15 answers

How to switch the cursor between terminal and code in VSCode?

I just started using VSCode and I'm looking for a way of, while having both the code open and the terminal(the one inside VSCode), switch between typing on these parts of the editor with a shortcut. Looked around the web but the best I could find…
sigmaxf
  • 1,787
81
votes
3 answers

VS Code drag tab to new window

Instead of splitting windows, is it possible to drag the tabs to a new window in Visual Studio Code like Sublime, PHPstorm or Chrome? When I drag a tab onto the desktop, it will copy the file.
AllenBooTung
  • 1,359
59
votes
10 answers

Is it possible to detach the terminal window from VSCode?

I really like using the VSCode terminal and I don't want to fire up a separate terminal app, but the integrated terminal occupies too much screen space. It would be great to move it to another monitor or reposition it. Is this possible?
Dale Botha
  • 693
  • 1
  • 5
  • 6
46
votes
6 answers

How to remove folders from Visual Studio Code

How can I remove folders from Visual Studio Code folder directory?
46
votes
3 answers

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 way to type a file name (in a quick search way)…
41
votes
2 answers

Move Visual Studio Code Panel from right to bottom

I move Visual Studio Code's workbench Panel to the right Now I cannot seem to move it to the bottom. Dragging Terminal/Problem to the bottom does not work. I have also ensure in User Settings there is this setting "workbench.panel.defaultLocation":…
hanxue
  • 3,020
37
votes
1 answer

Tab Key doesn't indent in VS Code

When programming in VS Code, I always use the Tab key for indenting. But, I was surprised that is stopped working all of a sudden. How do I fix this?
Armster
  • 485
35
votes
5 answers

How to disable file filtering in VS Code Sidebar / Explorer?

On Visual Studio Code v1.32.3 on Mac OS, and for at least a few versions before this, I am often unable to create files and folders in the sidebar via the default key mappings of a and shift+a, and instead am greeted with a file search /…
23
votes
4 answers

How to see diff of each commit with Visual Studio Code?

I've been trying to move over to Visual Studio Code from WebStorm but WebStorm still has this one killer feature that I can't see how to do in Visual Studio Code. I can quickly pull up a list of my commits and then diff any one of them: Please…
Evanss
  • 1,268
17
votes
2 answers

Combine language-specific settings for multiple languages in Visual Studio Code

I want to enable word wrap only for specific file types, for example for .tex and .txt files. In my settings.json, I've added the following lines: "[latex]": { "editor.wordWrap": "on" }, "[plaintext]": { "editor.wordWrap": "on" } Is there a…
cbrnr
  • 371
16
votes
1 answer

In VS Code with split panels, open reference in already open file

I have VS Code 1.38.0. I'm programming in C and I like working with files open side by side. Let's say I have a file "L" open on the left side and a file "R" open on the right side. If there is a function call in file L that is defined in file R, if…
stefanos
  • 163
  • 1
  • 6
16
votes
3 answers

Visual Studio Code column mode paste

I can select a column in MS Visual Studio code with shift-alt and drag, but how do I paste a column? I can't find that anywhere. The column mode options on the keyboard cheat shortcuts list do not list this.
15
votes
1 answer

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 modify the file, or to double click the tab). What…
user1068446
  • 1,420
13
votes
3 answers

"Go to function" command in Visual Studio Code?

Visual Studio Code has a "Go to symbol" command, which can go to either a variable name or a function. However what I usually want is to jump to a function name, so I'm wondering is there any command or shortcut to do this?
laurent
  • 6,089
1
2 3
11 12