linter-rust icon indicating copy to clipboard operation
linter-rust copied to clipboard

UI doesn't work in crates within a Workspace

Open ml172 opened this issue 6 years ago • 2 comments

When working in a rust file in a crate inside a larger workspace the linter continues to work, but the UI (red dots signifying issues on particular lines, etc) does not.

When I move a crate out of the workspace the UI is restored.

ml172 avatar Apr 05 '19 19:04 ml172

Could you provide an example? If the document is switching scopes (languages) in the middle of the document it's possible this provider isn't getting triggered.

Arcanemagus avatar Apr 08 '19 16:04 Arcanemagus

I'm also experiencing this. I had one crate I was working on and then moved it to a workspace because I wanted to add a proc_macro crate to the project. After moving to a workspace, I don't see any indication of the linter in the editor, but there's still an error count in the bottom left.

When I took that same crate (now a sub-directory of the workspace) and copied it to it's own directory, the linter starting working in the editor again.

Really hopes this gets fixed and thanks for your work on this package! :)

windy1 avatar Mar 01 '20 04:03 windy1