zeroc-ice / vscode-slice

Slice syntax highlighter for Visual Studio Code
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Setting a Configuration Set's Paths to `["."]` Crashes the Server #46

Closed InsertCreativityHere closed 8 months ago

InsertCreativityHere commented 9 months ago

Like the title says, using these as your settings causes the server to panic:

  "slice.configurations": [
    {
      "paths": ["."],
      "addWellKnownTypes": false
    }
  ]

At least on windows, maybe other platforms. I suspect we're normalizing the . away in some cases but not in others...

InsertCreativityHere commented 9 months ago

Yep, this isn't a windows specific issue. It crashes on MacOS as well, so it's not the usual issue (windows pathing incompatibility).