Questions tagged [visual-studio-code]

Visual Studio Code is a text editor available for Linux, Mac, and Windows. You can also use this tag for unofficial binaries of the portion of the code that is open source (such as VSCodium) as well. It includes support for debugging, embedded Git control, various extensions and rich development experiences such as intelligent code completion. It is mainly developed by Microsoft, and built on Electron like GitHub's Atom.

Visual Studio Code is a lightweight, but powerful, source code editor developed by Microsoft. It runs on the desktop and is available for Windows, Mac, and Linux. It comes with built-in support for JavaScript, TypeScript, and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Python, and PHP) and runtimes. It is licensed under the Microsoft Software License Terms, but most of the source code is available under the MIT license. There are unofficial binaries (such as VSCodium) that contain only the MIT-licensed code.

Visual Studio Code uses the Blink layout engine to render the interface, Electron for the framework, and TypeScript for the program logic.

Links

Syntax

Language packages extend the editor with syntax highlighting and/or snippets for a specific language or file format.

Migrating from other editors

The Visual Studio Code team provides keymaps from popular editors, making the transition to Visual Studio Code almost seamless and easy.

Migrating from Vim

Vim Mode - Relatively new, but promising extension implementing Vim features in Visual Studio Code

Migrating from Atom

Popular Atom keybindings for Visual Studio Code

Migrating from Sublime Text

Popular Sublime Text keybindings for Visual Studio Code.

Migrating from Visual Studio

Popular Visual Studio keybindings for Visual Studio Code.

Migrating from IntelliJ IDEA

Popular IntelliJ IDEA keybindings for Visual Studio Code.

Using Visual Studio Code with particular technologies

Microsoft created a collection of recipes for using Visual Studio Code with particular technologies (mostly Web).

Make sure to visit it at Microsoft/vscode-recipes

Related Tags

56460 questions
25
votes
2 answers

Where VS Code stores the list of open files?

I'm trying to have synced VS Code instances at work and at home, including the list of open files. I know there are extensions to sync settings, but they do not cover Open Files AFAIK. I do not expect live syncing, under running instance, but if I,…
skaurus
  • 1,581
  • 17
  • 27
25
votes
2 answers

VS Code: Search multiple directories

When searching, VS Code has the ability to list files to include to scope the search. This is used by default when using the "find in folder" feature. For example, searching src results in ./src as the files to include. Is there a syntax I can use…
BRass
  • 3,698
  • 2
  • 28
  • 46
25
votes
5 answers

Rename refactoring for PHP in Visual Studio Code

Is there a rename refactoring for PHP in Visual Studio Code? It is the only thing that stops me from fully move from NetBeans to VSC. Renaming is very importat for me (not search/replace).
Dawid Ohia
  • 16,129
  • 24
  • 81
  • 95
25
votes
3 answers

How to open a browser within VSCode just like another editor tab

For a VSCode extension i want open browser within VSCode not externally, wherein i can load some URL (https://developers.redhat.com/) I tried looking into various options to achieve it in VScode extension, what i came across is with help of webview…
invinciblejai
  • 1,103
  • 1
  • 8
  • 15
25
votes
8 answers

Open CMD in the Visual Studio Code terminal

Whenever I open the terminal in Visual Studio Code, I get a bash shell. I want to add CMD as a second shell. To do that, I went through the VS Code documentation and found this command: CTRL+SHIFT+` But it only opens a second bash shell. Is there a…
vineethc4f
  • 259
  • 1
  • 3
  • 6
25
votes
4 answers

Visual Studio Code not showing console logs

For example, in this method, I use console.log() to log to console for debugging purposes _onSearchTextChanged = (event) => { console.log('_onSearchTextChanged'); ... }; But Visual Studio Code does not show anyting in console
pixel
  • 9,653
  • 16
  • 82
  • 149
25
votes
3 answers

vscode always opens welcome screen on startup instead of last opened folder

I built my own custom version of vscode to add some features to the minimap, namely highlighting when highlighting a word. All is well and good, apart from the issue where my version of vscode never remembers the last opened folder and always opens…
lite-whowantstoknow
  • 799
  • 3
  • 9
  • 18
25
votes
5 answers

.NET Core debugging with VS Code - "Only 64-bit processes can be debugged"

I don't have VS 2017, and I'll be building a web front-end in VS Code anyway so I want to use VS Code. Until .NET Standard 2.0 comes out, our libraries are also in 4.6.1, so I'm targetting net461 in my .NET Core csproj:
Joe
  • 6,773
  • 2
  • 47
  • 81
25
votes
1 answer

VSCode: Prevent split editor to open same file left & right

I'm currently using VSCode as my main editor, however, when I split the editor into 2, it opens the same file twice, like left & right (see image below). Is there any way to prevent it from opening the same file on the next editor? Currently, I…
Neo Genesis
  • 922
  • 11
  • 26
25
votes
5 answers

VSCode Keep asking for passphrase of SSH key

I have recently upgrade my VSCode version 1.10.2. As I put passphrase on my private SSH key, it started to ask for it frequently even when I entered it multiple times, which is very annoying. Is there anyway I can get rid of it? Thanks.
Jonathon
  • 552
  • 1
  • 9
  • 14
25
votes
5 answers

vs code and intellisense for CSS Grid and CSS Modules

I am using VS code for a project using CSS Grid and CSS Modules. However when I try something like this .loginRegisterDiv { composes: loginDiv; margin: 0px; width: 100%; } I get an error saying composes "unknown property" for composes. Plus…
tmp dev
  • 8,043
  • 16
  • 53
  • 108
25
votes
7 answers

How to run asp.net mvc 4.5 in visual studio code editor?

I am looking forward to run asp.net mvc apps in vscode but it seems that the only pages that I found on google is with asp.net core which is not what I am looking. Can someone guide me with some steps, I installed some plugins like c# and msbuild.…
hmota
  • 379
  • 1
  • 4
  • 10
25
votes
3 answers

How to pull specific remote into current branch in VS Code

Using built in Git in Visual Studio Code, I do not see a way to pull a specified remote branch into my current branch. Can I do this? Example: I am working on branch myBranch and changes were merged into master on the remote. I want to pull the…
stephen776
  • 9,134
  • 15
  • 74
  • 123
25
votes
3 answers

How to work with Typescript in .vue files using VS Code?

I'm using Visual Studio Code, Vue 2 (webpack template) and Typescript. This is my App.vue component: