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

Clean up snippet autocomplete implementation

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Autocomplete

    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

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

              Dates

                Created:
                Updated: