Closed vharny closed 3 months ago
I would also appreciate this feature
@vharny you can enable this with configuration in codemirror 6:
The default completion keymap binds Ctrl-Space to start completion, arrows to select a completion, Enter to pick it, and Escape to close the tooltip. It is activated by default when you add the extension, but you can disable that if you want to provide your own bindings.
The default bindings do not bind Tab to acceptCompletion, for reasons outlined in the Tab-handling example.
to enable these defaults, you must install, import and load the default completion keymap in @codemirror/commands
package
At the moment, I have the impression that you always need at least 1 character to display autocompletion.
It would be cool to have the list of possible object properties without having to type a first letter to get the list.
Just by pressing Ctrl+Space I'd like to have the complete list of possibilities.
Like here in the Codemirror documentation: