Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rootUri is incorrect in VS Code extension #2477

Closed
Martmists-GH opened this issue Jan 12, 2024 · 1 comment
Closed

rootUri is incorrect in VS Code extension #2477

Martmists-GH opened this issue Jan 12, 2024 · 1 comment

Comments

@Martmists-GH
Copy link

the rootUri value is correct, but the extension still reports as scanning the entire home folder.

  ...
  clientInfo = {
    name = "Code - OSS",
    version = "1.85.1"
  },
  initializationOptions = { ... },
  locale = "en",
  processId = ...,
  rootPath = "/home/mart/git/lua",
  rootUri = "file:///home/mart/git/lua",
  trace = "off",
  workDoneToken = "...",
  workspaceFolders = { {
      name = "lua",
      uri = "file:///home/mart/git/lua"
    }, {
      name = "Computer 2",
      uri = "craftos-pc://0/"
    } }
}

@carsakiller
Copy link
Collaborator

It looks like you are using the craftos extension. I don't believe the language server protocol supports "remote" workspaces so the craftos-pc scheme is ignored and the language server assumes it is scanning / on your PC. There has already been an issue created for this: #2159 as well as #2317. Please continue tracking this issue in #2317.

@carsakiller carsakiller closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants