Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Browsing all 97288 articles
Browse latest View live
↧

How to manually set language for syntax highlighting in Visual Studio Code

Before the confusion begins, this question is about Code, the new lightweight Visual Studio Editor. You can get it from here: https://code.visualstudio.com/I have a textfile (.txt) with CSS in it and...

View Article


How can I synchronise eslint or setup similar tslint and prettier with...

I've an existing React/Redux project and I've started using typescript in my project. I've already setup my eslint configuration for the project which extends the airbnb eslint configurations. My...

View Article


Visual Studio Code PowerShell code debugging from the terminal

I have PowerShell script opened in the code window. I am starting the same script from the terminal and expect it to run in the debugging mode. It means: script would stop at breakpoint.Described...

View Article

Image may be NSFW.
Clik here to view.

In VS Code, disable error "Comments are not permitted in JSON"

I sometimes use Visual Studio Code to edit JSON files that include comments. VS Code displays an error saying, "Comments are not permitted in JSON." It would be nice to disable that error message...

View Article

Setup a Task to run a file outside of the workspace

Does tasks in code allow loading external executable files from a directory outside of the workspace ?The following is attempting to run a executable file from a folder outside of the...

View Article


Image may be NSFW.
Clik here to view.

how can I change the button's order of the status bar in vscode?

example how can I change the button's order of the status bar in vscode?thx very much!

View Article

Image may be NSFW.
Clik here to view.

It is possible in vscode to put the terminal on the right?

It is possible to move/open the terminal window to the right of the screen? That would allow me to optimize the editor spaces to work in more efficiently.In vscode when we use Ctrl+I For example, open...

View Article

VSCode C/C++ Intellisense issue: Undefined identifiers (Linux, Manjaro)

OS: Manjaro 18.1.5VS Code (OSS): 1.41.1C/C++ Extension: 0.26.3Hi,I have an issue using VS Code with the C/C++ extension. Some identifiers are not recognized by Intellisense, although my includePath in...

View Article


Emmet expand abbreviation doesn't work in Visual Studio Code with the attributes

I am starting to use Visual Studio Code for my web projects and I cannot live without Emmet, but I have a problem when I try to expand the abbreviations in HTML tags with attributes. Just an example....

View Article


Is it possible to name or tag breakpoints in Visual Studio Code

When I'm debugging code that is contained in a file that has a few or several hundreds lines of code, I'll typically add a breakpoint. I can see the list of the breakpoints under the Breakpoints panel,...

View Article

Overriding extensions directory in vscode

One can specify the extension dir by running from command line: code --extensions-dir c:\path\to\extHowever, I would like to set this parameter even when running from the windows menu. I tried to...

View Article

Image may be NSFW.
Clik here to view.

How to make the console log displayed on the Toggle Developer Tools in Visual...

I am using Visual Studio Code version 1.41.1, Live Server 5.6.1 I opened the Toggle Developer Tools from Visual Studio Code \ Help menu, then wrote some JavaScript code and console log, and expected...

View Article

how to read all files in a directory in python with Visual Studio compile

I have the following code that should read all the .txt files in the folder where my project is located (I'm doing it in Visual Studio Code):for file in glob.glob("*.txt"): fp = open(file, "r", -1,...

View Article


Advanced library installation in Platform IO doesn't enable project selection?

I am trying to follow the following video: https://www.youtube.com/watch?v=_pSVzV4PdiAExcept that when it gets to the 'Advanced library installation' window in Platform IO, inside Visual Studio Code, I...

View Article

Issue with my azure site, Shown error message on VS code

My azure web API through .net core is not working. The site was deployed through VS Code and he is not working.(It was shown error 500.30 InHosting).My API.csproj<Project...

View Article


VSCode Vim multiple cursors

I have looked everywhere and I am still unable to switch off this 'feature'!I've been using vi and, later, vim, since the 80's and I have never had need of multiple cursors, nor can I see a use for...

View Article

Is there a way to stop powershell core from using its own colors in the...

Is there a way to stop powershell core from using its own colors? When I open a new powershell core terminal in VSCode the default colors are used, but when I start typing commands powershell core...

View Article


Typescript: rename string literal type in VScode

Given some string literal type:declare type Test = "hello" | "world"; const test: Test = "hello"; I want to rename "hello", and I want the change will take effect also in the usage, but VScode doesn't...

View Article

Image may be NSFW.
Clik here to view.

How to add multiple terminals in VS Code?

Can we add multiple different terminals in the VS Code? I am planning to add following three terminal and work with all of those :Windows Command prompt PowerShellGit BashI know I need to add the...

View Article

How to open a file in vscode under wsl using the vscode:// url?

I would like to open a file in vscode under WSL (Windows Subsystem Linux) using the vscode:// url.You can do it with a normal file in the usual filesystem vscode://file/c:/myProject/package.json It is...

View Article
Browsing all 97288 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>