sublimelsp / LSP-rust-analyzer

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

Error "Failed to discover workspace" every time I open project #100

Closed malaire closed 1 year ago

malaire commented 1 year ago

Every time I open project I get error "Failed to discover workspace" from rust-analyzer.

Also many features like information on hovering or code completion are not working at all.

predragnikolic commented 1 year ago

The following things are helpful to debug this:

  1. Can you provide some steps to reproduce this?
  2. Can you paste the output from LSP: troubleshoot server(it is located in the command palette) than select rust-analyzer?
  3. Also can you paste LSP logs
malaire commented 1 year ago

Sorry, I forgot to add the folder to project, i.e. steps where: