Most voted "visual-studio-code" questions
Visual Studio Code is a cross-platform code editor (Windows, Linux, and Mac OS) by Microsoft. It supports ASP.net 5, Javascript, and Node.js with features such as debugging, Intellisense, Syntax Highlight, and git integration. Use this tag for questions related to the editor itself, not applications using that editor
Learn more…303 questions
Sort by count of
-
2
votes2
answers843
viewsHow to activate version control in Visualcode?
I’m having difficulties in using Visualcode version control, all the changes I make in the system are not going to version control, my question is if I need to install a specific extension for it to…
-
2
votes2
answers5607
viewsEncapsulate set of HTML tags in VS Code ("Ctrl + alt + enter" in Sublime Text)
Editing HTML files in Sublime Text I can encapsulate a set of tags or text just by selecting the block and pressing Ctrl+Alt+Enter and then typing in which tag I want to use to encapsulate the…
-
2
votes1
answer78
viewsIs it possible to import a Sublime function into Vscode?
There is a function that I use a lot in the sublime that is the F12: { "keys": ["f12"], "command": "goto_definition" }, It displays all functions with the same name and even guide to the target file…
-
2
votes1
answer388
viewsCan VS Code have a Color Theme for each Language?
My question is this. I would like to have a theme of simpler colors and with less colors to work with CSS, already for HTML I would like to have a theme with more accentuated and marked colors. For…
-
2
votes1
answer1082
viewsCompile C++ file in VS Code using external cmd
I can compile files in VS Code normally, but the files are shown in the terminal of the program, which does not allow the insertion of characters. How can I set up to be able to use a terminal that…
-
2
votes1
answer406
views.NET Core + Visual Studio Code - Structure organization
I have here with me some questions about developing applications in . NET Core using Visual Studio Code: How a base project is created, such as a "Blank Solution", as in Visual Studio? How is the…
-
2
votes1
answer1394
viewsAdd External Library . JAR, to MAVEN project using VSCODE?
I am developing a JAVA project together with MAVEN to be compiled. However, I need to put the library jar. that is already on my computer in the MAVEN project and pull the data that is inside it to…
-
2
votes1
answer456
viewsHow to Input Data in Debugging with VS Code
I started using VS Code to program, I like it a lot. But in a simple console application, when I am in debugging and arrives in a line with Console.ReadLine() you can’t input data, I write on the…
-
2
votes1
answer1934
viewsPygame does not run a.mp3 file and returns pygame-error
I was touching the Pygame and when performing a program that plays music: from pygame import mixer mixer.init() mixer.music.load('ex021.mp3') # Dark Souls III Soundtrack OST - Main Theme.mp3…
-
2
votes2
answers935
viewsHow to Debug Classic ASP in Visual Code
Like debugging classic ASP in Visual Code, some specific extension may be suggested or another form of configuration so it is possible to debug.…
-
2
votes2
answers994
viewsShortcuts in visual code - Ubuntu 18.04
Today I installed the visual code on linux, I used it before but in windows, it happens that some shortcuts are not working and this is damaging my productivity. One of these shortcuts and the most…
-
2
votes1
answer289
viewsHow to configure Vscode to identify private field syntax
I’m testing new JS features, but my Vscode can’t detect that the project uses the new private field syntax. The code is like this: entities.js class Person { constructor(p = {}) { if(p)…
visual-studio-codeasked 5 years, 6 months ago LeandroLuk 4,989 -
2
votes1
answer146
viewsANSI in Visual Studio Code with Python
How do I make vs code understand this command line: print('\033[1mNome: ') Where " 033[1m" is the part responsible for leaving in bold, but instead it is responding with this: ?[1mNome:…
-
2
votes2
answers815
viewsDo you have a plugin for VS Code that shows the color on the side?
I am programming in Dart/ Flutter and would like to find a plugin that does the same as Android Studio, recognizing the color typed and showing on the side The written colors are a little different…
-
2
votes1
answer1612
viewsVscode extension for showing errors
What extension do I use to show c# code error? Example I am using the code line Console.Write($"{_Nome} está passando \n"); regardless of the using System in order for the console.write to work,…
-
2
votes1
answer562
viewsRemove underscores in Vscode (image 1 = problem, image 2 = Solution)
How to remove these underscores that make it difficult to read code in my Vscode.…
visual-studio-codeasked 4 years, 10 months ago Vivi Santana 101 -
2
votes1
answer233
viewsPHP Code Sniffer in VS Code : How do I ignore a certain rule to avoid getting errors?
I want to use php code Sniffer to study and at the same time force me to follow the standards of Psrs but I don’t want to follow the rule that forces me to comment on every file and every function I…
-
2
votes1
answer55
viewsRandom indentation for standardized
How to automatically transform indentation of files with random spacing like 1, 2 or 3 spaces to 4 or any other value used? The idea is to be clearer to those who are developing at the moment.…
visual-studio-codeasked 4 years, 5 months ago oixavier 21 -
2
votes3
answers1846
viewsAuto indentation problem when saving to Vscode
With a problem in auto-indentation of Vscode, I have tried to disable even then the problem remains. When saving a file Vscode automatically changes the indentation, follows the image before saving…
-
2
votes2
answers467
viewsHow to Tab the Cursor in Vs Code?
I have Windows 10 and I use Vs Code. I want to tab my cursor, but when I press the tab key, what happens is that the cursor starts to select the first item of the terminal header (and is navigating…
visual-studio-codeasked 4 years, 3 months ago Lucas Pletsch 787 -
2
votes1
answer64
viewsRegex: how to select whole sentence (no digits) and insert quotation marks
I got this result from a . csv 9 Abraço de tamanduá 9 Abraço fraterno 9 Correr/partir pro abraço (futebol) I am applying several regex so that the end result is an SQL statement like this: INSERT…
-
2
votes2
answers99
viewsProgram a test to check for libraries in the "package.json" type "@types/..." that are in the wrong place. Is it possible?
I’ve taken several times package.json libraries "@types/..." in "dependencies" instead of "devDependencies". It is that they were installed without adding the parameter -D during the yarn add.…
-
2
votes0
answers628
viewsHow to configure VS Code to run JAVA programs with MAVEN passing parameters?
I have a code with no main method. The project is executed using the following command: $mvn clean install -Dparam1="folder" -Dparam2="path" In Eclipse or Intellij, I just need to create a Maven…
-
2
votes2
answers221
viewsMy vscode does not execute code in "output", but in the console debug
I’m learning to code in Javascript (Cod3r’s WEB Development Course by Udemy) and I’m having a lot of problems with Visual Studio Code, which I’ve been postponing for not being able to solve. The…
-
2
votes1
answer22
viewsPylint on Vscode
I’m starting to use the VSCode to work with Python, and would like to set up the Pylint to highlight|warnings errors while typing (such as PyCharm makes), by default lints are only 'executed' in…
-
1
votes3
answers3595
viewshow to view more than one project in the Visual Studio Code explorer?
Galley, One question, I started to use the virtual studio code for testing, previously used the sublime, and what I’m missing and could not do was, make him accept I have more than one open project…
visual-studio-codeasked 8 years, 7 months ago Diego Santos 70 -
1
votes1
answer1466
viewsVisual Studio Code closes file alone
In Visual Studio Code when I open a file and soon after I open another file I will work it automatically closes the first opened file. How do I stop it?
-
1
votes1
answer2502
viewsVisual Code does not show HTML tag closure
Colleagues. I recently installed Visual Code. I’m liking the program, but I noticed that when we create PHP files, some features don’t seem to work. For example: In HTML code, when I select it does…
visual-studio-codeasked 7 years, 7 months ago user24136 -
1
votes2
answers1755
viewsHow to select Python 3 in Visual code
I already installed the Python extension in Vscode but I want to know how to recognize the Python 3 syntax?
-
1
votes2
answers181
viewsvscode removing Imports when saved file
I have a very simple code in GO. Using vs code, when saving the file I’m working on, the editor removes the import "math" Follows the code package main import "math" func main() { a :=…
-
1
votes1
answer1994
viewsAutomatic closing of single and double quotes vscode
My vscode does not automatically close single and double quotes. I’ve disabled all extensions, autoclosing is already true, but the problem still persists. vscodeVersion 1.15.0 (1.15.0) MAC osx:…
-
1
votes0
answers104
viewsOpen vsCode and Atom error
Every time I try to open Tom and vsCode this message appears: a javascript error ocurred in the main process Error image in Atom: And on Vscode: I already deleted it from my pc and downloaded it…
-
1
votes2
answers5772
viewsHow to save the entire project using Visual Studio Code
all right? I’m using Visual Studio Code, and when I change three files, I have to go from file to file to save each individually. Is there any command on Visual Studio Code to save all the project…
visual-studio-codeasked 6 years, 12 months ago wladyband 4,694 -
1
votes1
answer155
viewsNo "Typescript task runner" - vsCode
Below is the screen I need to find in vsCode (I need the Tasks: Configure Task Runner): But when I search for "tasks" in the command palette (Ctrl + shift + 9), this option does not appear: Can you…
-
1
votes1
answer778
viewsInsert key function - Visual Studio Code
In the VS Code, someone knows how to set up the key "Insert" change the function, instead of inserting the typed characters to replace. How it works in CMD and in some text editors?…
visual-studio-codeasked 6 years, 10 months ago ams 79 -
1
votes1
answer2163
viewsFunction Search in Visual Studio Code (Ctrl+F)
The VC Code search function, cso has several occurrences and the user keeps searching, always stays in loop. When reaching the end of the page, if the user moves forward with the search returns to…
visual-studio-codeasked 6 years, 10 months ago ams 79 -
1
votes1
answer2921
viewsComments Block - Vscode
There is something that can facilitate the creation of comment blocks in this format: /* |-------------------------------------------------------------------------- | Register Controller…
-
1
votes1
answer1841
viewsProblems installing vscode extensions
I installed Vscode and when trying to install an extension any status of it does not leave "Stalling" (No error or log is generated). I’ve already tried accessing it as an administrator. I have…
-
1
votes0
answers287
viewsEnable (configure) Ctrl + Click on Vscode functions
There is how to configure or enable the option similar to Ides as phpstorm where you use the shortcut Ctrl + Click in the code functions and the editor Vscode makes the hyperlink of the same? Att.…
-
1
votes1
answer286
viewsConfigure unittest in vscode
I am unable to configure the unit test feature of Visual Studio Code. The extension keeps informing that no test has been found: My argument setting is in default mode, ie: #// Arguments passed in.…
-
1
votes1
answer368
viewsVS Code is not searching in library folders (Vendor, node_modules, etc) after updating
After I updated my VS Code, by pressing the shortcut CTRL+P, I can no longer view third-party library classes installed in the folder vendor. I noticed that the same behavior occurs for the folder…
visual-studio-codeasked 6 years, 5 months ago Wallace Maxters 102,340 -
1
votes3
answers910
viewsEncoding without configuration: Eclipse (JSP) and Vscode
I have some problems related to encoding. Both in eclipse and Visual Studio Code are aimed at UTF-8. When I repair and save using the eclipse, it goes fine. But when I save in Vscode, the encoding…
java eclipse jsp character-encoding visual-studio-codeasked 6 years, 5 months ago Thiago Cunha 1,356 -
1
votes1
answer1468
viewsHow to submit a post request using Xios and Asp.net Core Web API?
I’m making a requisition with axios with the verb post, but I’m not getting it. Note> With the verb get I can do the requisition. Object cliente: { nomeCompleto: '', cpf: '', email: '', endereco:…
-
1
votes1
answer435
viewsVisual Studio Code - Empty CSS ruleset
When I create a class in HTML and go to CSS and put ". alguma_Class{}" the css file does not recognize this class in the automatic search and only works if I type everything in hand and only after…
-
1
votes1
answer50
viewsQuery with field as IN value
I’m trying to do a survey using INNER JOIN in table service, the scheduler field.serv_id is a string "vector" and its value in the database is: '1, 2' I did 3 Indsert’s in the service, the only…
-
1
votes1
answer93
viewsStop Automatic Vs Code Parsing
Guys, in my vs code, when I am idle for a while (without being in the tab ) It starts an automatic file posting. Parsing…
visual-studio-codeasked 6 years ago BrunoAngeoletto 179 -
1
votes3
answers428
viewsCtrl-Click Sublime Text on VS Code
In Sublime Text has a function where we hold the Ctrl and click on a text and it is selected. There is this function in VS Code? Here’s an example image where I selected 2 different texts in…
-
1
votes1
answer666
viewsHow to edit a theme installed on vscode on Linux
I recently installed vscode and installed the theme Hail Theme, but I would like to change the menu color. For example: when I am in the editor, the menu looks like this: But I’d like him to have…
-
1
votes1
answer72
viewsJulia error VS Code and Juno / Error Julia VS Code and Juno
When I try to make a basic program like this in VS Code: n = 0 while n < 10 n+=1 println(n) end i get this mistake: ERROR: syntax: unexpected end I tried to do the same program on Juno (the…
-
1
votes0
answers416
viewsHow to debug python in Visual Studio Code
I have the following structure and folders and files: DebugTeste |--br |--com |--empresa |--implementacao | |--__init__.py | |--Ola.py | |--testes |--testeOlaMundo __init__.py code: # __init__.py…