sublimelsp / LSP-rust-analyzer

Convenience package for rust-analyzer
MIT License
70 stars 11 forks source link

Server can't work on windows #58

Closed jingyuexing closed 2 years ago

jingyuexing commented 2 years ago
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: 
daggy1234 commented 2 years ago

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

jingyuexing commented 2 years ago
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'
jingyuexing commented 2 years ago

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

why is the workspace in cargo????