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 ArticleHow 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 ArticleHow do you debug Flutter in VsCode?
How does one debug their Flutter code while the app is running an in-app simulator?
View ArticleVS 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 ArticleEditing 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 ArticleVSCode 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 ArticleVS 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 ArticleVS 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 ArticleTrouble 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 ArticleHow 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 ArticleWhy 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 ArticleHow 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 ArticleEclipse 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 ArticleHow 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 Articlewhy 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 ArticleCannot 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 ArticleCan 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 ArticleUse 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