Category "visual-studio-code"

Visual Studio Code: how to add arguments for g++ compiler?

I want to use some C++17 features that Mac's clang doesn't currently support, so I use brew install gcc --HEAD to install the g++ 10.0.1 version. Codes run w

How to change c syntax check standard in vscode

vscode default c syntax checker seems that c standard used not high (maybe c99 or lower) like the example following: array ellipsis is available in c11 , actua

Why is rust-analyzer not finding dependencies in workspace member?

I have a cargo workspace with one library "./raytracing" and one binary "./cli". The two workspace members have different dependencies. ./raytracing/Cargo.toml:

Are there apps built on top of VSCode open source base?

VSCode has a very customizable UI with Activity Bar, Sidebar, Tabs, Status Bar etc (https://code.visualstudio.com/docs/getstarted/userinterface); customizable v

Code actions provider API for integration testing

I'm writing a CodeActions provider in https://github.com/google/wireit/pull/174 and using an integration testing setup similar to that documented at https://cod

why is Intellisense not working in my VS Code?

I am working on vs code. When I open any folder the IntelliSense is not working when I hover the mouse over any text. It was working before but now I don't know

Import "webdriver_manager.chrome" could not be resolved when using Selenium in VS Code

I'm trying to use Selenium to test a web app, and my tests are running smoothly using webdriver-manager. I already pip installed the webdriver_manager and selen

How do I solve an issue installing yeoman generator in vscode

when installing yeoman generator in vscode, in a terminal on windows 10 PC, I run the command below npm i -g yo generator-code I get the below message saying e

VSCode Rego Plugin opa evaluate not working as expected

I'm learning OPA and rego. I'm trying to write a simple policy and have the same evaluated through VSCode Plugin. Folder Structure: learning.rego package learn

How to remove unwanted Emmet Abbreviation in vs code autoComplete suggestion

How to remove default value in Emmet Abbreviation suggestion? For example, I want background-color : ; instead of background-color:#fff; need to manually remov

in vscode how can I quickly generate a new file with datetime in the name?

I'm trying to be able to have a keyboard shortcut that creates a new file with the datetime as the prefix and some additional text that I enter. I know there i

VSCode python debugger fails to attach to local port with ECONNREFUSED

I'm trying to debug locally a project that is deployed on Microsoft Azure. I have a copy of the repository on my PC and setup the launch.json file as: { "ve

How to make vscode act like Visual Studio IDE when pressing Enter within curly braces

Say I'm writing function: after I've pressed 'ENTER': after formatting: Is it possible after second step (pressing 'ENTER') to get result like in Visual Stud

Debugging Rust on Vscode : u8 not shown correctly

I am debugging this simple Rust program on Vscode fn main() { let u8: u8 = 3; let b: u16 = 5; let c: u32 = 7; let d: u64 = 9; } The values of t

Error while installing truffle using "npm i truffle -g"

While installing Truffle on my desktop, an anonymous error occurs... First it's showing the error related to python which is strange but then I install python

Run bash script with VS Code

I want to run bash script when I hit F5 and see the results in the terminal like I can do with python scripts or whatever. I tried to do that with Bash Debug ho

Regex - Search VSCode files for one string following another (multiline) but where another string doesn't appear between them at the start of a line

In VSCode, I'm looking for all files that contain a return statement followed by the word use but that don't have const [A-Z] at the start of a line in between

.NET Core 3.1 CreateHostBuilder Cannot parse JSON file

I am experiencing an error when trying to run my ASP.Net Core 3.1 project. The error is at CreateHostBuilder within Program.cs public class Program {

The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program

I'm getting this error while running node in my VS Code terminal besides I tried to run the same thing in CMD and it worked there but not in VS Code terminal:

scrcpy not working while VISUAL STUDIO CODE is working

I'm using Ubuntu 20.10 and I have installed scrcpy to mirror my phone screen while creating flutter applications, but when I just open Vs code, scrcpy closes wi