julia-snail
julia-snail copied to clipboard
taking advantage of broader context in completion
Currently the completion mechanism identifies the symbol at point and queries REPLCompletions for suggestions. REPLCompletions is actually capable of some context dependence when completing, for example in lines that start with using
it will suggest package names and not variables. Wouldn't it make sense to change julia-snail-repl-completion-at-point to complete from the beggining of the current line, instead of from the beginning of the current symbol? This way we get context-dependent completions for free.
That sounds promising. As usual, I’ll get around to it faster if you send me a PR with some proof-of-concept code to look at. :)