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

Error waiting for a debug connection: Bad state: No element Flutter VS Code

Updated vscode today after that created new flutter projects are showing error Error waiting for a debug connection: Bad state: No elementError waiting for a debug connection: Bad state: No element

View Article


How to debug the embedded js in cpp with VS code?

The "mongo shell"https://github.com/mongodb/mongo/tree/master/src/mongo/shell is a program written in cpp, it uses a Javascript engine to communicate with mongoDB. I want to make some breakpoints in...

View Article


How do you debug Flutter in VsCode?

How does one debug their Flutter code while the app is running an in-app simulator?

View Article

VS Code: when I close a sub-folder and return to the file, the sub-folder...

I've always developed with Sublime Text, but I feel that VS Code is much better, so I want to get started.I have a problem please (with Sidebar of VS Code): When I open a sub-folder in my project, and...

View Article

Editing Prettier options in Vscode

I need to enable .tpl files to be formatted like HTML by Prettier. I've found on GitHub this block of code who should do it : overrides: [ { files: '*.html.tpl', options: { parser: 'html' }, }, ], How...

View Article


VSCode arrow select mode how to get out?

I don't know how did I get into this mode, but whenever I press the arrow buttons, the cursor moved and selected the text it passed. As if the Shift key is pressed.What is it and how to get out? I have...

View Article

Image may be NSFW.
Clik here to view.

VS Code Debug won't find Simulator; Simulator Debug opens browser instead

VS Code launch.json: { "version": "0.2.0", "configurations": [ { "name": "Debug iOS", "cwd": "${workspaceFolder}", "type": "reactnative", "request": "launch", "platform": "ios" }, { "name": "Attach to...

View Article

Image may be NSFW.
Clik here to view.

VS code is not able to identify html extension

my vs code can't identify which web extension I am using, It can identify .htm instead of .html extension, and because of this, it cannot give me a suggestion for an HTML tag.

View Article


Trouble running python in VS code python terminal

even stuff like help(int) seems to give me error in vs code terminal for pythonhelp(int) int : The term 'int' is not recognized as the name of a cmdlet, function, script file, or operable program....

View Article


"Exported type should have comment or be unexported" golang VS Code

I tried this code in Go:type Agent struct { name string // Not exported categoryId int // Not exported } And VS Code reports the following problem:exported type Agent should have comment or be...

View Article

How to start debug in Visual Studio Code on macOs in C language?

I have a simple project just with one main.c file and info.h file. I am using makefile for building purposemyprog1 : main.o gcc -g main.o -Wall -ansi -pedantic -o myprog1 main.o : main.c info.h gcc -c...

View Article

Image may be NSFW.
Clik here to view.

Why are sub-folders within the File Explorer in Visual Studio Code collapsing...

I am relatively new to VS Code and I think I must have accidentally changed a setting. VS Code used to clearly display all sub-folders below and indented to the right from their parent folders, but...

View Article

How do I create multi-line snippets with quotes, and get them to expand?

I'm setting up Code for html support.None of the snippet libraries for html support seem to work for me for html snippets, so I'm trying to create my own.HTML documents create quotes. User snippet...

View Article


Eclipse keymap in visual studio code for c++ development

I need show outline ( ctrl + o ) of eclipse in visual studio code. Also F2 of eclipse which directly gives variables declaration in popup.

View Article

How to manually import a type from an index.d.ts file, and tell VS Code...

I have the following problem: I'm building some program based on Express.js(using plain JS, not TS). I'm using Sequelize as an ORM.I have "repository" classes, which inherit functionality from a...

View Article


why is the canvas background black? Shouldn't it be transparent [closed]

canvas.width = canvas.width; Shouldn't the reset be transparent?There is no color set on the styleenter image description here

View Article

Image may be NSFW.
Clik here to view.

Cannot find Auto Fix On Save button in Visual Studio Code

I was following tutorial to turn on ESLint Auto Fix on saving a file. Tutorial demonstrates to check a checkbox. And I cannot find it. Do I need any extension or smth?Go to: View -> command pallete...

View Article


Can I add in js reference to an online .d.ts file?

We have an js library that is online (pure javascript file), and we would like to add reference to .d.ts, so the user to able to use the .d.ts without downloading or installing anything. The goal is...

View Article

Use IPython REPL in VS Code

Using the Python extension of Visual Studio Code, I can select some code, right-click it, and select "Run Selection/Line in Python Terminal" (alternatively, I can hit Shift+Enter). However, this sends...

View Article

"Prettier - Code formatter" is not working in Visual Studio code

I have Visual Code Studio(1.41.1) Editor and I need Auto FormatterI have installed this code format: Prettier - Code formatter Successfully installed but not working,I also tried to use the command ext...

View Article
Browsing all 99573 articles
Browse latest View live


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