Category "visual-studio-code"

Why prettier put a comma ',' at the last element of the object

In Visual studio code, When I am using chart.js in my app, prettier always put a comma at the end of the last data of the object 'label'. I think, it's create a

VSCode how to know when editor is not split?

Until now, I used cmd+2 to split the editor on Visual Studio Code and then cmd+1 and cmd+2 to move between the split editors. This shortcut stopped working for

Why live share not work on visual-studio code-oss?

I have installed in my arch system code-oss following this guide https://wiki.archlinux.org/title/Visual_Studio_Code i have also modified product.json ,installe

Import serial doesnt work after using pip install pyserial

After installing pyserial, I still get the error: "ModuleNotFoundError: No module named 'serial'" This is the beginning of the code: import serial import time

Debugging Azure Function with vscode

I've been struggling to debug an HttpTrigger type azure function with vscode. My assumption is that the issue might be related to the config files within .vscod

Flutter Error: Execution failed for task ':app:compileFlutterBuildDebug

I reinstall my flutter and trying to load my app again, but I am having trouble loading it up. I have tried for three days, even reinstalling my window and all

Container volume not mounting to local path

Python Code: with open("/var/lib/TestingVolume.txt", "r") as outFile: data = outFile.read() with open("/var/lib/TestingVolume.txt", "w") as outFile: out

Run vscode as root in WSL2 Ubuntu instance missing user-data-dir option

I want to run vscode as root in my WSL2 Ubuntu instance. The suggestion seem to be to start code with sudo and specify the user-data-dir. sudo code --user-data-

Open files in left or right-most panel in VS code

Is there a means to always open files chosen in VS Code's file explorer in a particular code editing panel, say the left or right-most panel? I can use "Open to

Is there a way to lock a particular instance of vs code while working with multiple instances?

There are times when one is working with multiple instances of vs-code... In that situation, It becomes soo easy to put code in wrong instance... Is there any w

Resize the terminal in vscode is trigger the ctrl+c to terminate the running command

I'm running the vscode 1.64.2 on Windows 10. Currently i met a strange problem, When i resize the terminal in the vscode and the cursor is focus on the terminal

Truffle migrate and truffle install error

I keep getting this error. When I try truffle migrate --reset node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module 'C:\Users

How do I get Intellisense for JavaScript in VS Code to work? (npm installed @types)

I am writing a little web project with p5.js. Basically it is just this right now: <!DOCTYPE html> <html lang="en"> <head> <script src="h

VSCode Rust add semicolon on save

I am using the Rust extension on vscode and NOT rust-analyzer. However, when I am saving a file, vscode is using rustfmt to format my file but it doesn't automa

how to debug target from administrator with remote SSH vscode?

I'm wondering how to instruct vscode to launch debugging executable on target (Windows) with admin priveledge while debugging with remote SSH extension?

Visual Studio Code Account Not Loading

My vscode account won't load, this means: emmet stops working, I can't use github remote repositories(I use my github account), Intellisense doesn't work and my

Visual Studio Code does not show variable color or problems anymore

About 4 days ago, while I was doing my schoolwork I noticed that the variable colors don't turn blue like they used to, and it does not show me problems in the

how to import vscode path

I am receiving the following error from vscode when i try to edit a go file: "Error loading workspace: You are outside of a module and outside of $GOPATH/src. I

Creating spark application with VSCode - Synapse PySpark installation error - Exit with non zero 3221225477

I am on windows and I am trying to follow this doc to create spark applications with VSCode using a Synapse workspace. I can sign into Azure and set a default S

VScode change appearance of intellisense popup

On the website for Tailwind CSS there is a video of someone editing in vscode. How did they get the popup to look like that? Can I reproduce it some how? For t