61,264 questions
46
votes
5
answers
72k
views
How to do git push in Visual Studio Code?
There is a "Push" menu item, but when I click on it, nothing happens except for a subtle progressing bar showing up and never finished. From Visual Studio Code's Docs page, I found this line: "...
12
votes
5
answers
8k
views
Gulpfile is not being recognized
The documentation states that gulp and jake files should be autodetected. I have a gulpfile.js in the root of my opened folder, but it is not being autodetected and listed in the task list when I try ...
16
votes
2
answers
4k
views
"Cannot start Omnisharp because Mono version >=3.10.0 is required"
I just installed Visual Studio Code and when I started it, it gives me this error. When I try to execute my example application, it gives me TypeLoadExceptions.
Cannot start Omnisharp because Mono ...
1
vote
2
answers
2k
views
OmniSharp error loading projects with COMReferences in Visual Studio Code
Having issues loading projects in the new Visual Studio Code that work fine in Visual Studio 2013. I was able to load other projects that don't have COMReferences in Visual Studio Code. Using Windows ...
289
votes
35
answers
849k
views
How to execute Python code from within Visual Studio Code
Visual Studio Code was recently released and I liked the look of it and the features it offered, so I figured I would give it a go.
I downloaded the application from the downloads page, fired it up, ...
3
votes
1
answer
2k
views
Visual Studio Code and php
Is it possible to use phplint and phpcs with Visual Studio Code editor?
It seems that it's possible with Visual Studio Code tasks, is it right? If yes, how?
Visual Studio Code Tasks
8
votes
2
answers
4k
views
Cannot start OpenDebug because Mono (or a Mono version >= 3.10.0) is required
I have downloaded and install vscode in ubuntu 14.0 lts, and include existing node.js project. First think I have to do with vscode is debugging my app, for that I have go to debug (ctrl+shift+D) ...
8
votes
3
answers
2k
views
Is there a way to change the shell that opens when using keybinding Ctrl + Shift + c in Visual Studio Code?
I've noticed this code in the keyboard shortcut settings.
{ "key": "ctrl+shift+c", "command":"workbench.action.terminal.openNativeConsole" },
I was wondering, instead of opening cmd.exe, can I change ...
87
votes
19
answers
149k
views
How to open a shell command prompt inside Visual Studio Code?
When using Visual Studio Code, how do I run command-line programs, such as a choco (Chocolatey) command? Do I need to have a separate Command Line (CMD.exe) running outside VS Code, or is there a ...
25
votes
5
answers
92k
views
How do I make the JavaScript linter in Visual Studio Code ignore a line?
For example this, at the top of a node.js source file:
#!/usr/bin/env node
Or unused local variables, etc.
1
vote
1
answer
482
views
Running ASP.net V5 in VSCode
I am trying to run code sample from https://github.com/aspnet/home in the VSCode in Windows 7 OS. I successfully launched the website but it errors out
An unhandled exception occurred while ...
2
votes
2
answers
1k
views
Downloading typescript definition file in Visual Studio Code from behind a proxy
I'm using Visual Studio Code on Mac from behind a corporate proxy, and when I use feature in the IDE to add the reference to the typescript definition, it adds the /// reference path, but the d.ts ...
2
votes
4
answers
18k
views
How do I add VSCode to the PATH for PowerShell?
The Code documentation suggests that it is added to the PATH during installation, but that did not seem to work for me (at least not in PowerShell). Where is it installed such that I can add it myself?...
121
votes
35
answers
272k
views
Intellisense not automatically working VSCode
I just downloaded Visual Studio Code and my Intellisense is not automatically working.
The two settings that control this seem to be set correctly:
"editor.quickSuggestions": true,
"editor....
8
votes
2
answers
5k
views
Reference typescript definitions in one file, instead of all JS files?
I'm working on a Node JS (+Express) project in Visual Studio Code, and am wondering if there is a way to reference TypeScript definitions in one global spot, rather than having to re-reference ...
3
votes
4
answers
10k
views
How to compile a TypeScript file from within the new Visual Studio Code on Mac OS X
Microsoft has just released the new Visual Studio Code for the Mac OS X platform. It supports TypeScript, in that one can get autocomplete and error reporting for TypeScript code.
My question: How ...
4
votes
2
answers
2k
views
Why is Find in Files in Visual Studio Code OSX ignoring my search.excludeFolders setting?
Even with the default configuration, I still get tons of results in various node_modules folders when doing a workspace search.
Default setting:
"search.excludeFolders": [
".git",
"...
723
votes
11
answers
370k
views
How to associate a file extension with a certain language in VS Code
Or is there a way to switch the current file's language so that the syntax is highlighted correctly?
For example, *.jsx is actually JavaScript but VS Code doesn't recognize it.
0
votes
2
answers
988
views
How to disable/override the ctrl+shift+i binding in VS.Code for Windows?
ctrl+shift+i seems to be hard bound to open the VS.Code Inspector/debugger in Windows. I use an inverted-T on the home row for cursor control [1] and need this chord free for "select up":
{"key": "...
2
votes
3
answers
5k
views
How to silently install Visual Studio Code on Windows?
Current observed behavior:
invoke VSCodeSetup.exe
install happens with no prompting
Code opens, which was a little surprising for a Windows package
I'm creating a Chocolatey package, and ideally, ...
1437
votes
24
answers
1.4m
views
How can I customize the tab-to-space conversion factor in VS Code?
How do I customize the tab-to-space conversion factor when using Visual Studio Code?
For instance, right now in HTML it appears to produce two spaces per press of TAB, but in TypeScript it produces 4....
6
votes
3
answers
3k
views
In VS Code, how to use the Typescript 1.5 alpha compiler
Looking through the VS Code settings, there doesn't seem to be an option, on a per project basis, to set the Typescript compiler. Can I set VS Code to use the 1.5 alpha compiler I've installed via ...
293
votes
41
answers
588k
views
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 other Git clients. I guess if I ...
330
votes
11
answers
463k
views
How do I add environment variables to launch.json in VSCode
Working with the new VSCode editor on a node.js project. I am attempting to configure my "Launch" profile for debugging by editing the launch.json file. I need to setup a connectionstring as an ...
0
votes
1
answer
153
views
Unnecessary code tips
I'm performing some behaviour tests with Jasmine and the following variables are getting these annoying tips under the word—totally unnecessary, since they're being defined on beforeEach(); scope.
...