Skip to content
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

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

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

Comments

@0xlosh
Copy link

0xlosh 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?

@0xlosh
Copy link
Author

0xlosh 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

@0xlosh
Copy link
Author

0xlosh 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
@0xlosh
Copy link
Author

0xlosh 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.

@0xlosh
Copy link
Author

0xlosh commented May 25, 2022

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

@0xlosh 0xlosh 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