Safe-DS / DSL

Statically checked Data Science programs.
https://dsl.safeds.com
MIT License
11 stars 0 forks source link

Code lenses after EDA tool is opened #1152

Open lars-reimann opened 2 months ago

lars-reimann commented 2 months ago

Describe the bug

After the EDA tool is opening, code lenses in the editor are no longer clickable until the file is edited.

To Reproduce

  1. Create a file test.sds in VS Code:
    pipeline example {
      val table = Table({
          "a": [1, 2, 3, 4, 5],
          "b": [6, 7, 8, 9, 10],
          "c": [11, 12, 13, 14, 15]
      });
    }
  2. Click on the code lens "Explore table".
  3. Go back to the editor.
  4. Try clicking on the code lens "Explore table" again. This does not work.
  5. Edit the file.
  6. Try clicking on the code lens "Explore table" again. This should now work again.

Expected behavior

The code lenses should stay active.

Screenshots (optional)

No response

Additional Context (optional)

While at it, we might also ensure that code lenses, validation, semantic highlighting, etc. are triggered for the first shown file when VS Code is launched.