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

Handle `show`, `use` and `snippet` commands in mongodb-ts-autocomplete

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Developer Tools

      Handle show and use command completions by providing pre- and post-processing for these types. Specifically, if a user attempts to complete show and use, we run completions for show( and use(, possibly including the prefixes the user already provided, and then strip away the parentheses and quotes again when finished completing.

      Note: Search for directShellCommand. Should be use, show, exit, quit, it and cls. Snippet commands work in a similar way.

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

              Created:
              Updated: