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

Image may be NSFW.
Clik here to view.

Unable to debug an Electron app with Visual Studio Code

I'm just starting to learn Electron/VueJs/NodeJS & Visual Studio Code, so to start I have find an existing project :https://github.com/Physiix/topsi-project-managerI follow the instructions and run...

View Article


VSCode: trigger organizeImports when git staging

I like the automated organize feature in VSCode, but having it doing it on every save has given me some trouble.... "editor.codeActionsOnSave": { "source.organizeImports": true }, ... Is it possible to...

View Article


Environment path not working in vscode with processing language extension

I am working in processing language extension for VS Code.I have a problem when building a project, the shell can't find my processing-java file in the path even thought I set it correctly.Cmd or...

View Article

VS Code - Is there a way you can make the Minimap bigger?

I have enabled the MiniMap in Visual Studio Code (VSCODE) with the following code: "editor.minimap.enabled": trueBut can I make it bigger? It's so small at the right.

View Article

Textmate grammar - conditionnal multiline match - VS code

I have search the internet and still haven't found a way to do this. I want to match the keywords (keyword1 = keyword.scope.lang, keyword2 = keyword.scope.props.lang) in the following example:keyword1...

View Article


Extension: Provide code navigation support for custom script language

I would like to support basic code navigation in my extension for my custom script langauge. Things are not too complicated, a simple regex can actually find where a call or jump occurs and where it...

View Article

Image may be NSFW.
Clik here to view.

VS Code Python autopep8 does not honor 2 spaces hanging indentation

I'm trying to get autopep8 work to properly indent Python code with 2 spaces instead of 4. I'm using VS Code with Python extension which uses autopep8 for formatting. I found here that autopep8 can be...

View Article

VSCode: Debug > Add Configuration, nothing happens

Using Visual Studio Code v 1.32.3 on Windows 10, when I navigate to Debug > Add Configuration, nothing happens. No errors or other messages, nothing appears to be written to the workspace folder, no...

View Article


Image may be NSFW.
Clik here to view.

How to get terminal in vs code to wrap code until the edge of the display width?

How to get terminal in vs code to wrap code until the edge of the display width? I want my code in terminal to extend longer than what it is. Here is a picture below to visualize.Here is a picture:This...

View Article


How to write unit test for ZeroDivisionError using try except format

[mac os high sierra 10.13.6, visual studio code 1.39.2]I want to write the unit test that captures ZeroDivisionError exception.When the code is written in format function_v1, both test_v1 and test_v2...

View Article

Image may be NSFW.
Clik here to view.

Why is VS Code adding many blank lines at the end of all my files?

I just installed Win 10 1809 on my Dell PC, and it seems to run okay. But the first thing I did was start up VS Code. I wanted to run yarn start for my React project, but I had to type it way down in...

View Article

Image may be NSFW.
Clik here to view.

Is it possible to customize deprecated language features in VSCode?

In VSCode, Vue devs will see the align keyword highlighted in red in HTML templates. The align keyword is deprecated in plain HTML, but is a valid attribute in Vue, Angular and other frameworks. Here...

View Article

Why is the following variable assignment not working correctly?

I tried to convert users input from string to int by casting each character to int and multiply by its corresponding exponential. Everything works correctly till the point I need to assign the result...

View Article


Can I install selenium webdriver into Visual Studio Code?

I would like to start writing some selenium scripts using Visual Studio Code.Can I install the webdriver(s) and how?In the demonstration video's that I have seen Visual Studio was used, not VSC.Please...

View Article

Custom language associations in VS Code based on the contents of the first line

Using VS Code (v1.39.2) when I open a file whose first line is #!/bin/bash, the editor knows to set the language to Shell Script. Is there a way that I can configure my own language associations such...

View Article


vscode : what extension is good for 3 way merging?

I am currently learning vscode and coming from webstorm , is there an option/extension to merge 3 ways? Where in vscode can I merge conflicts? At the moment I thought I resolved all the changes but...

View Article

Image may be NSFW.
Clik here to view.

Can't find ProjectName.dll attach process for debugging of dotnet core api in...

I am trying to debug dotnet core api in VS Code. But I can't find dotnet process to start debugging. Here is sceen shots.First one is mine and Second one is i want. Here is mine which I am gettingAnd...

View Article


How can I set VScode as core editor in git /macbook

I cannot set Visual Studio Code as my core editor for git. When I'm trying to do the git commit I only see the info that there is a problem with editor.MacBook-Air-Agata:~ agataskrzypczyk$ git config...

View Article

how to show folders files referenced in gitignore in vs code folder tree

Is there a way to whitelist certain folders that are referenced in .gitignore, say, /foo, so that they're shown in the folder tree of vs code? I can't seem to find anything.

View Article

Image may be NSFW.
Clik here to view.

Debugging plain JavaScript code without web project

I have a JavaScript file that I'd like to edit and debug. The code isn't DOM/browser/web specific. Can I use VS Code to run and debug JavaScript without a web project like Node or ASP.NET? If so, how?...

View Article
Browsing all 98903 articles
Browse latest View live


Latest Images

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