Category "visual-studio-code"

Need help changing the color of the line and where it says "Other Commands" in VSCode when you press Ctrl + Shift + P

Here is the image of the Command Palette:

VSC: How to auto close curly brackets in f-strings

Hi I want to ask if it's possible to enable auto closing curly brackets in f-strings in Visual Studio Code. In Python you use often f-strings and therefore you

Insert tomorrow's date in a VS Code Snippet

I have an Alfred Snippet that types the outline of a weekly Markdown checklist for me. Here's what it comes out looking like: ## Week (4/25–4/29) - [ ]

How to get rid of eslint prettier errors

How do I get rid of this replace error that underline red all over my code? Also everytime I "fix" all the errors, whenever I save, it show me the same error ag

Lazy Regex before lookahead : not working with `.+?`

I am using VS Code. And I want to select all matches in italics preceding {:term}. Unfortunately VS code doesn't support lookbehind yet, so I am content with th

VS Code file explorer won't show certain files or directories in some projects

I have what appears to be a weird problem. In some project folders when I open them in VS Code I don't see the entire directory tree in the file explorer, some

Is the jsconfig.json file required to be used in every JavaScript project?

I am working with a JavaScript project. Is it is necessary (or recommended) to use the jsconfig.json file in every JavaScript project? Will adding the jsconfig.

visual studio code keeps display an error after updating flutter to v 2.10.3

after upgrading my old flutter with latest version of flutter 2.10.3 vs code keeps display the errors down below : /C:/flutter2/packages/flutter/lib/src/mater

Pylance Intellisense not working as expected with Django

I'm trying to understand how to configure Pylance to make it work correctly in my Django project. Below is one of many examples where Pylance is not able to fin

jupyter notebook resource management in vscode

I have some .ipynb file and open these files in vscode but my vscode taking a lot of resources so i should reopen my vscode again and again.

How to correct VS Code terminal pointing to wrong folder C:\Windows\System32\WindowsPowerShell\v1.0?

I try to open a React project path in terminal window using VS Code's Open in Integrated Terminal (Ctrl+Shift+`), but it sets C:\Windows\System32\WindowsPowerSh

How to prevent files from opening automatically while using Live Share on VS Code?

When multiple users are coding a project and one user opens a file, the same file is opened for all other users. This becomes really annoying as several files g

VSCode API: Editor.edit editbuilder.replace fails without reason (possibly due to formatting?)

In my extension I want to edit the document on a few specific document edits. My actual use case is a bit complicated so I have created a minimal example. The c

How to get VScode Integrated Terminal Virtual Environment working?

I have completed a few courses online in Python and recently started a new course in Django. Previously I always used a virtual environment but would activate t

VS Code - does not recognize php 8 syntax

I have recently set up vsCode with PHP. However, it shows errors on following lines. public static function myFunction(): bool|string error : syntax error, un

How do I change the color of matched words in the command palette?

How do I change the color of the matched text in the result list of the command palette dropdown? I cannot see the word "Debug" since it has the same color as t

why do my VS Code extensions keep unsubscribing?

Hi I have downloaded VS CODE portable version on my usb stick, I also downloaded some extensions like Live Server and others... and at first it worked pretty we

Trouble Accessing Solidity on VSCode

When I do Ctrl+Shift+P on VSCode, I am unable to see Solidity as an option. If unfamiliar with Solidity, it is a language for writing smart contracts on the Eth

when using Hardhat doesnt exist create project

after maked directory and on terminal I typed 'npx hardhat' enter image description here but doesnt showed create project when i saw their tutorial, possible to

python vscode environment variables not available

I have attempted to follow the directions for environment variables in my project and thought I was doing the correct thing but it does not appear to be working