How can I turn off "suggestions table?" in VS Code? - visual-studio-code

I want to turn off the part that I marked with red. Could you please help? (Only want to bottom part to be appear.)

Add this in your settings.json:
"editor.parameterHints.enabled": false

Related

Is there a way to place error popups from vscode not upside?

Is there a way to place this pop up from VS Code, down below the error or change transparency to 0.75?
Add this line to your settings.json:
"editor.hover.above": false,

How to disable the first suggestions in vscode

How to disable the first suggestion? when I press tab, it just finishes the word only, different from the second one
I want the first suggestion is deleted, and the second becomes the first suggestion
The first suggestion is keyword (text) suggestion.
The second is a snippet suggestion.
You can change the setting: editor.snippetSuggestions (Editor: Snippet Suggestion in GUI) and set its value to top
"editor.snippetSuggestions": "top"
Or change the setting: editor.suggest.showWords
"editor.suggest.showWords": false
There are many other suggest settings, use the Settings GUI to search for it.

VS code suggestion box disable

I can't seem to find the way to disable suggestions in VS code. I'm not even sure if the boxes that show in the code are called suggestions, but I really want to disable these. They are covering literally almost half of my code. Does anyone know how to disable these boxes?
The top box is parameterHinits, and the bottom box is quickSuggestions.
I think this can solve your problem.
If you don't want quick suggestions, you can set:
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
}
But I think that is unnecessary, since you can just set a longer editor.quickSuggestionsDelay.
tips: You can always toggle quick suggestion using ctrl + space

Change VSCode minimap colors

I can't find anywhere in VSCode theming docs how to change the colors of the minimap (background, highlight,...), can someone please help me with this?
Thanks.
Starting in VS Code 1.43.0, you can change the minimap opacity and background color with the following setting in settings.json:
"workbench.colorCustomizations": {
"minimap.background" : "#00002299"
}
I reached this by going to File | Preferences | Settings, typing "workbench.colorCustomizations" in the search box, and clicking "Edit in settings.json".
These are hexadecimal numbers and the order of the color channels is RGBA, so this example gives a very dark blue background and (full-size) characters from the editor can be seen behind the minimap.
this works for me:
"workbench.colorCustomizations": {
"scrollbarSlider.activeBackground": "#62fa1b",
"scrollbarSlider.hoverBackground": "#fa2a1b",
"scrollbarSlider.background": "#c97554",
},
credit
Here's how I sync up my customized minimapSlider and scrollbarSlider.
"workbench.colorCustomizations": {
"scrollbarSlider.background": "#0000001a",
"minimapSlider.background": "#0000001a",
"scrollbarSlider.hoverBackground": "#00000028",
"minimapSlider.hoverBackground": "#00000028",
"scrollbarSlider.activeBackground": "#00000028",
"minimapSlider.activeBackground": "#00000028",
},
I fought this one for a while, turns out it's "editor.background" but you have to restart vscode for it to take effect.
To always show the minimap slider (without having to mouseover) go to
File| Preferences| Settings and search (type in): "minimap show slider".
Change the default "mouseover", to "always".
I think those settings can be overwritten. Go to your VSCode settings and under the workbench.colorCustomizations settings, the ones you're interested in are those starting with scrollbarSlider.*.
Check https://code.visualstudio.com/docs/getstarted/themes for more infos.
Hope it helps

How to change the gutter background colour in VS Code?

All the VS Code default themes (and any others that I've seen) have a uniform background color between the main view and the gutter. This makes it really hard to tell if you're at the start of a line (or to click there). Is the cursor at the start of the line here?
This is especially annoying with Python where indentation matters and you can't simply auto-indent a block once your indentation is messed up.
I often find myself pasting a block only to find that I was one space away from the start of the line and the pasted block therefore being offset.
Simply setting the gutter to a light grey background would fix this problem but looking at the default theme files I can't see any settings for the gutter. I've also looked at a theme from the store (Material) which has a few keys relating to gutter colours but changing them did not do anything.
Is there any way to modify the gutter background colour in VS Code?
Update: Version 1.8 of VS Code comes with a new setting to render the line highlight which can help with this when set to 'gutter':
You can change the gutter's background color (or colour) in settings.json. This was added in May.
"workbench.colorCustomizations": {
"editorGutter.background": "#000000" // your color here
}
or you can add
"editor.rulers": [ 0 ]
This won't change the background but it will add a line between the gutter and the editor.
The problems is that the gutter pointers are just not enabled by default.
Open preferences, workspace settings and set
{
"editor.renderIndentGuides": true,
"editor.renderWhitespace": "all"
}
You should see the guidelines and whitespace, hope it helps.
For more settings like this check -> https://code.visualstudio.com/Docs/customization/userandworkspace
Please install 'Python For VSCode' extension to solve the indentation issue.