Skip to content

hover, implementation, defintion (basically every feature) is not working #12385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
loshtbh opened this issue May 25, 2022 · 6 comments
Closed
Labels
C-support Category: support questions

Comments

@loshtbh
Copy link

loshtbh commented May 25, 2022

I installed rust-analyzer via vs-code on my remote machine.

unfort. nothing works, syntax highlights, autocompletes or hovering for type info all dont work.
my vs-code version is 1.67.2, my rust-analyzer version is v0.3.1066, the rust extension is disabled, all commands like cargo, rustup etc are in the path and work.

any ideas?

@loshtbh
Copy link
Author

loshtbh commented May 25, 2022

Screenshot 2022-05-25 at 17 09 48

it does load my project tho, im really confused why all the features arent working?

@Veykril
Copy link
Member

Veykril commented May 25, 2022

do the rust analyzer server logs say anything? Also what is the project structure and the file you are trying to see any features in

@loshtbh
Copy link
Author

loshtbh commented May 25, 2022

do the rust analyzer server logs say anything? Also what is the project structure and the file you are trying to see any features in

how do i access the logs?

my project structure is the simple rustlings tutorial https://github.com/rust-lang/rustlings

@lnicola
Copy link
Member

lnicola commented May 25, 2022

See rust-lang/rustlings#917 for rustlings.

@lnicola lnicola added the C-support Category: support questions label May 25, 2022
@loshtbh
Copy link
Author

loshtbh commented May 25, 2022

See rust-lang/rustlings#917 for rustlings.

i cloned the updated version with the updated config, i recently started with it.

@loshtbh
Copy link
Author

loshtbh commented May 25, 2022

nvm got it, closed! thanks @lnicola (had to add "rust-analyzer.cargo.features": ["exercises"] in the settings)

@loshtbh loshtbh closed this as completed May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-support Category: support questions
Projects
None yet
Development

No branches or pull requests

3 participants