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

Playground file opened in previous session won't run

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.3.0
    • Affects Version/s: 0.2.0
    • Component/s: Playgrounds
    • None
    • 3
    • Not Needed
    • Iteration Orange

      If you open a project/workspace that had a .mongodb file open when you closed it last time, VS Code will re-open it as expected.

      However, when you try to run it you get this error. Closing the file and re-opening it fixes the problem.

      In pre-0.2.0 versions we would not display an error but the playground would keep returning undefined until you closed an re-open it again.

        1. image-2020-10-05-17-49-10-442.png
          17 kB
          Massimiliano Marcon

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

              Created:
              Updated:
              Resolved: