Category "visual-studio-code"

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

VSCode folder structure

I want to change the folder structure.. if you see in the folder "utils" i have another folder called "mocks" well.. what i want is change the structure to se

What property to use for a prebuilt vscode devcontainer

I am currently build a VSCode devcontainer to share with my team. The container is built on a Gitlab pipeline using devcontainer build and pushed on our private

Visual Code Studio with C/C++ extension: How to disable warnings

I'm working with Zephyr OS in the Visual Code Studio IDE. Zephyr uses a lot of Macros but the C/C++ extension does not like that and throws Warnings. One exampl

Flutter app stuck on Installing and Launching step for physical iPhone

Annoying problem here for my Flutter app: iOS13.3, Xcode11.3 on a physical iPhoneX. The iOS-Simulators all work. The problem is only happening on a physical dev

How can I set Beautify for VSCODE to indent Jinja2 and Flask?

Beautify indentation is ignoring Jinja2. I am using Beautify - HookyQR to help with formatting and indentation. HTML, Python, CSS ... everything works fine. But

VSCode: How to use Chromium for debugging on local files (extension: Debugger for Chrome )

My goal is to properly set launch.json file to run some *.html in Chromium. For example: This is my project folder structure: project/ ├─ some_folde

Equivalent to Solution Folders in VS Code

In Visual Studio, one can create "Solution Folders" to group different .NET projects into a virtual folder. Is there any equivalent solution for VS Code? I've

How to fix C# Warning CA1416 in vscode?

I'm just starting to learn C# following Brackeys on Youtube. Upon writing along I get this problem pop up in vscode: { "resource": "/d:/OneDrive/Programming/You