I’m curious if there’s a way to always show the autocomplete suggestions while CodeMirror has focus. For my use case, I’d like the suggestions to always be shown without having to press a key combo (like Ctrl-Space). I’ve tried the following but get “too much recursion” errors in Firefox. Any help would be greatly appreciated. Thanks!
The show-hint plugin isn’t really built for this (it will immediately close itself when there are no suggestions, which I guess might be causing this infinite recursion), but you might be able to mostly get it to work by binding an event handler for cursorActivity that calls showHint when cm.state.completeActive is falsy. You’ll also want to set the completeSingle to false in hintOptions, so that, when there’s only one candidate, it isn’t immediately chosen.