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
24
votes
9 answers

vscode debug ES6 application

I have VSCode 0.5.0. I set the compilerOptions flag to "ES6" and the editor started recognizing my ES6 code as correct. I have babel installed. My Mocha tests use the babel compilers and my tests pass. My app runs from the command line with no…
24
votes
1 answer

Running first ASP.NET 5 application using VSCode, DNX and kestrel results in IOException

Following the steps described in the Visual Studio Code documentation, running the final command dnx . kestrel via the Command Palette of VSCode on Mac OS X results in an IOException when visiting http://localhost:5001: kqueue() FileSystemWatcher…
hwschuur
  • 1,101
  • 2
  • 13
  • 17
24
votes
5 answers

Opening Microsoft Visual Studio Code from command prompt Windows

Is there a way to launch Microsoft Visual Studio Code from the command line in windows? I can't even seem to find the directory for code on my computer. It didn't even ask me where to download it.
John
  • 7,114
  • 2
  • 37
  • 57
23
votes
1 answer

Flutter message while debugging after upgrading to 3.10

When I try to debug a Flutter app in Vs Code, it hits the break point fine, but when I mouse over any variable to see its value, I get "< optimized out >< error >: < Invalid params >" tooltip. This started after I upgraded to 3.10 from 3.7. Happens…
Aykut Ucar
  • 615
  • 8
  • 16
23
votes
4 answers

Can you get Warp terminal as the integrated terminal in VS Code?

I followed the directions on Warp's documentation, but this only replaces the external terminal (it opens as a separate window). https://www.warp.dev/blog/how-to-open-warp-vscode I would like Warp to replace vscode's usage of xterm in the integrated…
fooiey
  • 1,040
  • 10
  • 23
23
votes
4 answers

Why does the COMMIT_EDITMSG open when I try to commit in vscode?

Up until now, I can commit all my changes without any complications in VS Code. Now, when I try to commit my changes by clicking the little 'tick' on the top right corner of the 'Source Control' tab, a file named 'COMMIT_EDITMSG' shows up on the…
caliskanata
  • 488
  • 1
  • 2
  • 14
23
votes
4 answers

pydevd warnings in Visual Studio Code Debug Console

I've been searching for some time but couldn't find any related problem. When using Visual Studio Code with Python extension for debugging on large elements, computing a representation or getting an attribute may take some time. In these cases a…
mknaranja
  • 341
  • 1
  • 2
  • 6
23
votes
4 answers

VS Code uses 100% CPU even if it is closed

VS Code takes 100% CPU usage even it is not open. I ran the ps aux | grep PID command to check the details but can't understand anything. Here's the output: tawhid 27099 100.0 0.1 447352160 11856 ?? R 7:18PM 151:14.95…
Eros
  • 333
  • 1
  • 2
  • 5
23
votes
2 answers

Disable R-linting in VScode

In the picture below you can see a lot of linting-highlights e.g "Lines should not be more than 80 characters". I'm trying to disable/modify these but I cannot figure out how. Using this guide I cannot find the path Tools > Options > Text Editor > R…
CutePoison
  • 4,679
  • 5
  • 28
  • 63
23
votes
2 answers

Creating Table of Contents in VS code Jupyter Notebook

I am using the Jupyter extension in Visual Studio Code to maintain a notebook on python programming and I want to add a table of contents inside it. I want to add the TOC as the notebook is becoming very big and is becoming difficult to navigate. I…
23
votes
6 answers

VSCode keeps opening powershell on start even though Git Bash is set as default

I have set my integrated default terminal in VSCode as Git Bash but whenever I launch VSCode, powershell pops up instead of bash. It does not, however, change the default terminal setting but it is irritating. I have tried removing the profile of…
Abhishek Ghadge
  • 425
  • 3
  • 13
23
votes
3 answers

Where is the 'launch.json' file in Visual Studio Code?

The launch.json file should be inside the .vscode folder, but it is not present there. How can I get this file so that I can modify the configurations?
Amaan Zafar
  • 390
  • 1
  • 3
  • 9
23
votes
2 answers

How to permanently hide Debug Console in VSCode?

I have looked for a solution but couldn't find one, recently I switched the Explorer in VSCode from the LHS to the RHS and it works better, the problem I am now having is that when I open the terminal I get a debug console on the left - see picture…
Aindriú
  • 3,560
  • 9
  • 36
  • 54
23
votes
3 answers

How do I find/excute Python Interactive Mode in Visual Studio Code?

I'm unable to find/execute the interactive mode in Visual Studio Code. What are the step-by-step instructions for it? Menu View → Other Windows → Interactive menu commands). Work with the Python Interactive window I don't have "Other windows". Is…
Duck Flightsson
  • 341
  • 1
  • 3
  • 4
23
votes
6 answers

matplotlib - module 'sip' has no attribute 'setapi'

I just set up the VS Code with all the Python extensions. Python version is 3.8.3 through Anaconda. The interpreter is venv. When I run this code import matplotlib.pyplot as plt An error shows - Exception has occurred: AttributeError module 'sip'…
Egret
  • 421
  • 1
  • 3
  • 13
1 2 3
99
100