Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-181

Pull all commands used in our code into a central place

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.2.1
    • Affects Version/s: None
    • Component/s: Tech debt
    • Labels:
      None
    • Not Needed

      We can move all of our vscode commands (like 'mdb.addConnectionWithURI') into a constants file to be referenced in the codebase (maybe src/commands/index.ts). This will make it so that we no longer reference each command individually in our code with strings, which might lead to errors/misnaming in the future.

      This shouldn't be much work and maybe can just be wrapped into another PR.

            Assignee:
            Unassigned Unassigned
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: