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.
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.