To disable the hint pop-ups in Visual Studio Code (VSCode), follow these steps based on the specific type of pop-up you're referring to:
If you want to disable the pop-up that shows function signatures (parameter hints) when you're writing code:
- Open VSCode.
- Go to File > Preferences > Settings (or press
Ctrl + ,). - In the search bar at the top, type
editor.parameterHints. - Uncheck the option Editor: Parameter Hints Enabled.
This will stop VSCode from showing function signatures.
If the annoying pop-ups appear when you hover over code (e.g., tooltips or documentation):
- Open Settings (
Ctrl + ,). - In the search bar, type
editor.hover.enabled. - Uncheck the box for Editor: Hover Enabled.
This will prevent the hover pop-ups from appearing.
If the hint is related to auto-completion, and you want to control or disable that:
- Open Settings (
Ctrl + ,). - Search for
editor.suggestOnTriggerCharacters. - Uncheck the box for Editor: Suggest on Trigger Characters to prevent pop-ups when typing trigger characters (like
.or().
Alternatively, you can control the delay or disable auto-suggestions completely by searching for editor.quickSuggestions and adjusting the settings.
If you find that inlay hints (which show types or parameter names inline in the code) are the issue:
- Open Settings (
Ctrl + ,). - In the search bar, type
editor.inlayHints.enabled. - Toggle the setting Editor: Inlay Hints Enabled to turn them off.
After making these changes, the hint pop-ups should no longer appear or should be significantly reduced depending on the option you've disabled.