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

Clean up snippet autocomplete implementation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Autocomplete
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: