How to disable function signature suggestion popups in vscode? - visual-studio-code

I disabled all the suggestions options I could find in settings, but this one still pops up.
How could I disable it?

Te VS Code term for this is signature-help/parameter-hints. To disable them, just set:
"editor.parameterHints.enabled:: false
After disabling, you can manually show the parameter hints at the current location using the Trigger parameter hints command

Related

Disable automatic parameter suggestions in VSCode [duplicate]

This question already has answers here:
Unable to turn off code suggestions in Visual Studio Code
(2 answers)
Closed 17 days ago.
How can I disable the suggestion box for method parameters? (I still want to be able to make it show with the option+space shortcut, if possible)
I write some code, then I type ,. The suggestion box comes up:
I then press Enter to go on the new line, and the suggestion block covers my code:
I tried going through the VSCode settings, but couldn't find the setting for this method parameter suggestion box. I don't know what verbiage is used in the documentation to refer to this box.
These are called "parameter hints". You can turn off the automatic parameter hint popup by putting this in a settings.json file:
"editor.parameterHints.enabled": false
That setting's documentation/description says:
Enables a pop-up that shows parameter documentation and type information as you type.
You can then manually trigger it with the Trigger Parameter Hints command, or the corresponding keyboard shortcut:
Windows: ctrl+shift+space
MacOS: command+shift+space

VSCode Type Hint toggle display

How can I toggle on and off the display of Type hints in VS Code? For example, I've got the code .remoteOf(ClassServiceClient.class) and what I see is .remoteOf(CLAZZ:ClassServiceClient.class) but I can't actually select or seem to interact with the CLAZZ word.
How do I toggle this on and off? It seems useful in certain situations, but it just makes me think I typoed something.
I'm sure this has been asked before, but I haven't been able to come up with a word that seems to describe this feature.
This feature is called Inlay Hints and can be found under the Editor section.
After this, I've gone from displaying clazz:#Log4J2 to #Log4J2, and have enabled the option to display this hint by holding down a set of keys, ctrl + alt by default on Windows.

VS Code Autocomplete Doesn't show after using it

it's a simple problem that has been bothering me for a long time, when I use autocomplete, the text I write after it becomes highlighted and suggestions don't show up anymore, does anyone know how to disable it?
it goes back to normal after pressing ESC
Video Example
The Solution is to go to VS Code Settings and disable following setting:
"editor.suggest.snippetsPreventQuickSuggestions": false // enables suggestions

right click context menu in vs code executes immediately

When I right click in the editor, vs code executes whatever menu item the cursor happens to be over. It happens far too fast for me to make my actual choice known.
I have already spent 30 minutes trying to find a solution. If you search for "right click" in the Command Palette, you are told there are no matches. You don't get any hits in the docs, either. Please advise. Thank you.
It has been reported that the situation you mentioned is a bug in the repository on GitHub. It is reported that Visual Studio Code works fine when zoom is disabled.
You can update the following setting to override this behavior:
"editor.mouseWheelZoom": false
Or you can update the mouseWheelZoom setting from the pop-up window by using the shortcut CTRL + , to go to Settings.
It's crazy, but this is still an issue for Linux users after so many years. Especially, when using a Laptop with touch-pad it makes VSCode frustrating to use. The problem occurs when you use "native" window style (you can tell, because the theme will not be applied to context menus) and have a non-default zoom.
The GitHub issue that #sercan linked to has a few solutions. In order to save you some time, there is basically two things that I found work and make sense:
Set your zoom level to default / 0. In settings.json add: "window.zoomLevel": 0 This works with all window styles, but obviously is not always viable
Change the title bar style from native to custom. In settings.json add: "window.titleBarStyle": "custom" This will change how the title bar but also the context menus look. Setting this, you can zoom in again

How to stop VS code from automatically entering parameters into my callback function (stop inserting suggestions on a keypress)?

I am using VS Code version 1.25.1. This behaviour wasn't in any of the previous version and I'm not able to find the setting in settings.json to help me out. I couldn't find a post on this issue so I'm posting this.
When I press ,
This behaviour is very irritating and unproductive and I was wondering how can I edit my settings.json to disable this.
Edit
Note: I am using default settings.
"editor.acceptSuggestionOnCommitCharacter": false
will remove the , as a completion (commit) character. You can still use Tab or Enter to apply the highlighted suggestion.