Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-824

Clean up snippet autocomplete implementation

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Autocomplete, Tech debt
    • None

      The snippets addition makes it clear that we need an autocompletion implementation that is more flexible then relying on mutable global state.

      It’s probably a good idea to invert the relation between the autocomplete and the shell-api packages, and use ShellInternalState as an entry point for autocompletion as well.

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: