How to change diff color Visual Studio Code

Updating background color Since you need to update background only. The only issue in your config earlier was there was no alpha channel specified. You can update it like below “workbench.colorCustomizations”: { “diffEditor.removedTextBackground”: “#FF000055”, “diffEditor.insertedTextBackground”: “#ffff0055” } Where 55 is the alpha channel value. The updated values will have below effect Why it’s not possible … Read more

Visual studio code, exclude directory from “go to file” option (ctrl + p)

As @adamesque stated, to exclude files from quick open you can either add them to files.exclude or search.exclude setting. The issue then is that Quick Open also stores recent items, even from excluded paths. Fortunately, VSCode now have a command File: Clear Recently Opened! EDIT: As I needed to replace a Disk path while keeping … Read more

What are these parameter name annotations in my VS Code editor called, and how can I enable/disable them?

Those are Inlay Hints. You can enable (the default) or disable them with the setting: Editor > Inlay Hints: Enabled or change the Font Family or Font Size by searching for Inlay Hints in the Settings UI. And there is finer control for parameter names/types, variable types and more for js/ts files. For a lot … Read more

How to disable file auto-focus in VSCode Explorer panel when file is opened by navigating tabs?

To answer the first part, if you add this to your workspace or user settings, vscode will no longer automatically show the currently active file in the file explorer. “explorer.autoReveal”: false To answer the second part, if you like to have the current file focused but you don’t like having the explorer section expanded all … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)