I just started using neovim. I could get the lua language server to work but not the rust language server (rust-analyzer). When I open a rust file like hello.rs I get the errorLSP [rust_analyzer] ...
I'm trying to analyze some Rust source in a way that needs some sort of understanding of the semantics of the program beyond pure syntax, so the approach taken by syn is not sufficient. In particular ...
I have a workspace like this:.├── main| └── ... (use those macros)└── macros └── ... (define my macros here)But by default I need to manually restart rust-analyzer every time I do changes ...
I have some code I am working on that has a certain struct object Permissions:-// Stores permissions with a bit flag /// 1 << ? - Vote - Anyone with a weight > 0 can vote./// 1 << ? -...
Rust analyzer notifying me of any type errors in my code can be immensely useful, both in production code and tests. However, when making a large refactoring, errors in tests are just noise up to the ...
I'm writing Rust using rust-analyzer and lsp-modeSuppose I have code:let x = 10;let y = 20 + x;I want to put my cursor over x and hit some shortcut (or whatever) and the code becomes:let y = 20 +...
I'm using coc.nvim with rust-analyzer, and it works fine. My problem is having the documentation window take up half the screen (as can be seen here)I've tried to change its size from withing my init....
I've got the rust-analyzer plugin installed in Visual Studio Code (v1.99.1). When I try to enable the plugin, it fails due to the following:"Cannot activate rust-analyzer extension: spawn ...
I'm having a problem where if I leave my computer idle with VSCode open and I have opened a .rs file then the little spinning circle runs at the bottom left saying:Rust analyzerIf I close all .rs ...
I have a situation where different products inside a main workspace require different targets. The simplified situation has a folder structure like this:The backend needs to be built with the ...
I'm trying Zed editor to develop Rust project and it work perfectly except one annoying thing: I can't configure Rust Analyzer to run checks when I type, like it does in VS Code. In Zed Rust Analyzer ...
I am developing a code generator as a rust build script.Errors and warnings in rust code appear in the Problems view of vscode and the output of cargo build, as expected.Errors generated by build.rs ...
When opening a rust solution, Visual Studio reports "error: toolchain 'nightly--aarch64-pc-windows-msvc' does not contain component 'rust-analyzer-x86_64-pc-windows-msvc' for target 'aarch64-pc-...
Attempting to debug rust with VS Code on a windows pc with Qualcomm Snapdragon X1 Elite X1E-78 results in error This platform (win32-arm64) is not supported. Adding the screenshot here since it's not ...