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

Unable to run playground after editing it

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • No version
    • Affects Version/s: None
    • Component/s: Playgrounds
    • None
    • Environment:
      MacOS Catalina 10.15.7
      Chrome Version 93.0.4577.63 (Official Build) (x86_64)
      VSCode Version: 1.60.0 (Universal)
      Connected to Atlas free tier cluster
    • Not Needed
    • Iteration Kampala, Iteration Lutz

      Problem Statement/Rationale

      I can't run a playground (to create a new db & collection in my Atlas cluster) after I make a change to the playground. 

      Steps to Reproduce

      1. Right click on connection
      2. Select 'Add database...'
      3. In the playground that opens, edit the database & collection constant names to the actual names you'd like in your cluster
      4. [Next step would be to run playground, but this is where I run into issues]

      Expected Results

      Run playground, either by clicking play button or selecting specific lines & clicking 'Run Selected Lines from Playground' 

      Actual Results

      Both the play button & the 'Run Selected Lines from Playground' options disappear as soon as I make an edit to the playground

      Additional Notes

      I tried saving the playground before running it. This didn't change the situation. 

      When I ran the playground without editing it first, it worked fine - but having to go back & rename the db & collection is cumbersome. 

      Nothing I read in the docs indicated that I shouldn't be able to edit playgrounds before running them. 

            Assignee:
            alena.khineika@mongodb.com Alena Khineika
            Reporter:
            julianna.chen@mongodb.com Julianna Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: