VS code suggestion box disable - visual-studio-code

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

Related

Visual Studio Code show only user snippets in suggestions

Is there a way to make Visual Studio Code show only my snippets when suggestions come up when typing?
I've tried adding different options to my settings.jason file, including trying to make suggestions come on top of others but still no success. Sometimes my snippets don't come on top, or don't come at all in the suggestions box.
Any ideas on how to make only my snippets show, or at least make sure they always come at the top of the list?
"editor.snippetSuggestions": "top",
"editor.quickSuggestions": {
"other": "on",
"comments": "off",
"strings": "off"
},

Suppress syntax function help popups in VS Code/VSCodium

I'm using VSCodium to write some Python, and using the Python/Intellisense/Pylance Extension and an annoyance is the constant pop-ups explaining every basic function to me.
For example if I start to type a print() statement it pops up a large box with all the syntax details of writing a print statement, which blocks my view of much of my code. I'd like to just be able to type without the big pop-up suggestions.
I tried under the Preferences > Settings > text editor and there are pages and pages of "suggest:" option check boxes there, and though I tried several, none helped. Not sure if that's the right place to look.
I tried to change the Quick Suggestions Delay to 5000ms but it seems to have no effect on that instant popup on typing print( as well.
I'm starting to think perhaps there is another set of settings that controls this, but there are so many and none seem to be making a difference.
I am using editor.quickSuggestions and editor.suggestOnTriggerCharacters turned off for that purpose:
"editor.quickSuggestions": {
"comments": "off",
"strings": "off",
"other": "off"
},
"editor.suggestOnTriggerCharacters": false,
…and it works for me for languages I am using; not using Python at this point.

VS Code Stop Showing InlayHints Types on methods/functions/objects/etc

I have enabled viewing the types in VS Code, and now I don't remember how to turn it off or where I turned it on.
I've disabled all my extensions to make sure it wasn't one of them haha. So it looks like a VS Code Setting I can't seem to find.
As shown above here pointed out by the red box and arrows.
Greatly appreciate it, driving me crazy at the moment however very helpful at first.
I found it, hope this helps someone else - it was the inlayHints for javascript displaying all that.
Open up settings for VS Code, Ctrl + Shit + P to open command palette, type "Open Settings" and selected the JSON option. I had the following set to true, switched to false.
"javascript.inlayHints.enumMemberValues.enabled": false,
"javascript.inlayHints.functionLikeReturnTypes.enabled": false,
"javascript.inlayHints.parameterNames.enabled": "all",
"javascript.inlayHints.propertyDeclarationTypes.enabled": false,
"javascript.inlayHints.parameterTypes.enabled": false,
"javascript.inlayHints.variableTypes.enabled": false,
You can find it under Inlay Hints via the UI too rather than editing json:

Only show relevant intellisense suggestions in VSCode editor

This problem is difficult to explain.
In the image below, how do I get VSCode to only show adjL? I only want suggestions from the file I'm currently editing.
Currently, it shows a whole list of variables that I don't ever use.
See here: https://code.visualstudio.com/docs/editor/intellisense
Adding this to your setting.json should do it.
"editor.quickSuggestions": {
"other": false,
"variable": true
}
But I not recomended that, because intellisence is realy helpfull! ;)
Unless you only care about hiding other variables but not other types of prompts.

How can I stop VS Code Intellisense from automatically appearing?

When I'm not working in JavaScript, Intellisense is unfortunately not often terribly helpful. How can I make it only appear when I hit controlspace, and not just appear automatically?
I don't want to turn it off completely. I just want it to only appear when I explicitly ask it to.
Although the VS Code Intellisense documentation does not define "Quick Suggestions", apparently "quick suggestions" is Intellisense—or is the visible face of it. (Are there also slow suggestions? I have no idea. The name seems to suggest being just one aspect of Intellisense, but... it turns out that it seems to be pretty much the central thing.)
So to stop Intellisense from appearing uninvited, you have to turn off "quick suggestions". Here's how I did that, in my user settings:
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
},