How to turn off “matching” highlighting in VS Code?

There are different types of highlighting: 1. Syntax highlighting (place cursor inside variable) “editor.occurrencesHighlight”: false 2. Selection highlighting (similar chunks in document) “editor.selectionHighlight”: false 3. Matching brackets highlighting “editor.matchBrackets”: false There’s a second way – make them less obtrusive (or completely transparent): “workbench.colorCustomizations”: { “editor.selectionHighlightBackground”: “#0000”, // similar selection “editor.selectionHighlightBorder”: “#0000”, “editor.wordHighlightStrongBackground”: “#0000”, // syntax … Read more

Define multiple tasks in VSCode

Just in case it helps someone… . If you don’t have/want gulp/grunt/etc… or an extra shell script to proxy out your task commands , “npm run” is there already . this is for webpack and mocha as in “Build and Test” , Shift+Ctrl+B, Shift+Ctrl+T .vscode/tasks.json: { “name”: “npmTask”, //… “suppressTaskName”: true, “command”: “npm”, “isShellCommand”: true, … Read more

Choose folders to be ignored during search in VS Code

Temporary Exclusions From the search function, click the ellipsis to show the files to include and files to exclude text boxes. Enter any files and folder to exclude (separated by commas). Persistent Exclusions From menu choose File ➡️ Preferences ➡️ Settings ➡️ User/Workspace Settings and filter default settings to search. User settings will apply to … Read more

Set global $PATH environment variable in VS Code

If you only need the $PATH to be set in the integrated terminal, you can use VS Code’s terminal.integrated.env.<platform> variable (added in version 1.15). Press Cmd+Shift+P (or Ctrl+Shift+P) and search for “Preferences: Open Settings (JSON)”. Then add the following entry to the settings file: “terminal.integrated.env.osx”: { “PATH”: “…:/usr/bin:/bin:…” } (Replace .osx with .linux or .windows … Read more