Playground connected codelens showing on all .js files, not just playgrounds

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.8.0
    • Affects Version/s: 1.5.0
    • Component/s: Playgrounds
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 3
    • Iteration Ionosphere
    • Not Needed
    • Developer Tools

      Open a .js file while the extension is installed.
      Observe the codelens at the top.
      This should only be applied to playground files.

      Originally reported on GitHub: https://github.com/mongodb-js/vscode/issues/740 

      We can look for .mongodb.js on the file. Looks like the detection for showing the play button is correct so if that's something we can share let's do that.

       

              Assignee:
              Rhys Howell
              Reporter:
              Rhys Howell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: