Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code: How to make IntelliSense activate with Ctrl+Space but still allow quick info?

I'm used to Eclipse, NetBeans, and PHPStorm, and am stumbling through VS Code and not easily finding how to config or fix annoyances, like the editor auto-popping down suggestions while I type, meaning if I hit Enter before realizing it's showing the suggestion, it changes what I typed.

I found this was IntelliSense, but I'm used to suggestions popping up only after hitting Ctrl+Space. When I discover quickSuggestions in Settings, the other non-false option I understand there is "other" (true), but setting that to false makes no suggestions show even when hitting Ctrl+Space.

When I find out what Ctrl+Space actually does, it's listed as "quick info" on IntelliSense's help page - https://code.visualstudio.com/docs/editor/intellisense - but "quick info" is not found in a search in Settings or Keymap... super frustrating.

So I'm kind of stumbling through seemingly wasting a lot of time of my workday trying to config things to be less annoying and disruptive... any guidance here or do I need to take a class?

like image 967
user8865053 Avatar asked Sep 19 '25 19:09

user8865053


1 Answers

Disable using Enter as accept trigger:

"editor.acceptSuggestionOnEnter": "off",

Ctrl+Space is used to trigger suggest and when suggest is visible to trigger "quick info":

enter image description here

You can find keybindings in default keybindings. Invoke Go to Symbol Ctrl+Shift+O

enter image description here

like image 97
Alex Avatar answered Sep 23 '25 03:09

Alex