Category "vscode-settings"

VS Code Set JavaScript Property color

I'm trying to figure out how to change object property colors in JS files in VS Code. For example: var vehicle = { type: "Fiat", model: "500", colo

Error "File is a commonJS module; it may be converted to an ES6 module. ts(80001)"

Developing javascript in vscode, I see this error on line const Koa = require("Koa");: File is a CommonJS module; it may be converted to an ES6 module. ts(8

Launch.json: how to reference an environment variable

In order to define my environment variables in a single place a configured a task in which a run a shell script. The task is run as preLaunchTask in my launch.j

Font issues while integrating ZSH on Visual Studio Code

I'm trying to integrate zsh on my VSC setup but apparently arrows are not recognized by it. My zsh theme is agnoster and I've already tried adding "terminal.i

VSCode, Perforce: "SOURCE CONTROL No source control providers registered."

I'm using VSCode x64 on Win10 x64, and desire to use Perforce with it. I have a Perforce installation on the same machine that already works with both local and

VSCode make Ctrl+click "file, line" in terminal function like Ctrl+click "file:line"

I have a linter that I run in vscode's terminal. It shows errors in this form: file, line When I ctrl+click on the file, vscode will go to the beginning of the

How to force prettier html formatting to format tags in one line?

I use prettier in my VSC, so how to force prettier HTML formatting to format tags in one line, not multiple lines? I want to format something like this all in

enabling pylint_django plugin in vscode, pylint stop working

That's my user settings in vscode { "python.pythonPath": "/Users/cristiano/miniconda3/envs/django-rest-2/bin/python", "python.linting.pylintEnabled": true,

How to prevent Run/Debug window to show whenever I start debugging in VSCode

Whenever I start debugging my node.js project that run/debug window auto expands. Then I manually have to hide it (ctrl/cmd+B). This interrupts my flow whenever

How to turn off tab opening on execution in VSC?

With a recent update, every time I run code the "Julia" icon opens up on the activity bar. What settings control this behavior? If there isn't a setting, is the

VSCode - Rubocop - Settings.json - End of file expected

I am using VisualStudioCode with Ruby and Rubocop. After installation of Rubocop i found out i must change some of the settings in settings.json for Rubocop. Ho

NPM scripts not shown in Explorer sidebar. How to shwo them again?

I have this problem with Visual Studio Code for Windows 10: I can't see anymore the NPM scripts in explorer sidebar. I deleted all the extensions, uninstalled V

VS Code - toggle search icon in Activity Bar, move from panel or back

I accidentally removed search icon in Activity Bar and don't know how to add it there again. If I click on Activity Bar, I don't see this option any more.

Cycle to previous suggestions in VSCode

Hi, is there a way in Visual Studio Code to cycle to suggested keywords even when you already selected one of them (by clicking TAB multiple times)? This is p

How to find text in current file but match relative to cursor position [VS Code]?

I have a file opened in VS Code - 4000 lines long. Folder is not loaded - just one file. I am editing one method on line 3500. If I press Ctrl+F and start typi

'Import "Path.to.own.script" could not be resolved Pylance (reportMissingImports)' in VS Code using Python 3.x on Ubuntu 20.04 LTS

It is a similar situation I'd encountered several months ago using pylint prior to pylance: My python 3.9x - script (using VS Code on Ubuntu 20.04 LTS) starts w

How to change color of debug variable names in Vscode

I know I can change the color of the values during a debug session in the sidebar by changing sideBar.foreground in my settings.json. But is there a way of chan

Keybinding to open a specific file in vscode

I presume this is achievable through editing keybindings.json. As I can't seem to find a list of available commands, I've got this far through auto-complete:

Visual Studio Code - Add option(s) in 'select default shell' list on Windows?

I want to use various shells in VSCode terminal, eg. Git Bash. I can set it in settings.json with terminal.integrated.shell.windows, but if I select CMD as defa

In a VS Code extension, is there a way to set the configuration options for the editor (such as word wrap) programmatically?

For an extension I am working on, our end-users would prefer to have options such as word-wrap on by default. We would like to be able to set this at the langua