sublimelsp / LSP-rust-analyzer

Convenience package for rust-analyzer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server can't work on windows

jingyuexing opened this issue · comments

rust-analyzer: [ERROR rust_analyzer::reload] failed to switch workspaces: rust-analyzer failed to load workspace: "C:\\Users\\{username}\\.cargo\\bin" "--version" failed: Access denied。 (os error 5)
rust-analyzer: 

Check your rust installation, seems to be an error using cargo

Error handling request
Traceback (most recent call last):
  File "sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/sessions.py", line 1899, in on_payload
    handler(result, req_id)
  File "sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/sessions.py", line 1583, in m_workspace_semanticTokens_refresh
    selected_sheets.extend(self.window.selected_sheets_in_group(group))
AttributeError: 'Window' object has no attribute 'selected_sheets_in_group'

each time the plugin is started, it will query a file path for version information
image

why is the workspace in cargo????