Category "visual-studio-code"

VSCode Snippet - Dynamically generating characters based on user input length [duplicate]

I have this basic snippet for vue-html { "BANNER1": { "prefix": "banner", "body": ["<!-- ----------------", "/// $1", "

How do I deploy a dev container without running every other service?

Below is a docker-compose.yml from Visual Studio Code "Go & PostgreSQL" development container preset (original avaiable here): version: '3.8' volumes: po

Can't deploy React app in Production mode to Azure app service via VS Code

I have react app, which runs on Azure. I am using Visual Studio Code with App Service extension for its deployment to production and it works well. Unfortunatel

Can't deploy React app in Production mode to Azure app service via VS Code

I have react app, which runs on Azure. I am using Visual Studio Code with App Service extension for its deployment to production and it works well. Unfortunatel

VS Code - Multi-root workspace not showing all git repositories in source control panel

I have a multi-root workspace set up where all of the folders in my workspace are git repositories. However, for some reason only some of them show up in the So

How to reduce the space between the lines in Jupyter Visual Studio Code Output?

I want to reduce the space between the lines when I print something in Jupyter visual studio code output. Current output I would like an output like Jupyter wh

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