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

rustowl Not Visualizing Ownership and Lifetimes in VS Code #65

Open
imrank03 opened this issue Mar 6, 2025 · 3 comments
Open

rustowl Not Visualizing Ownership and Lifetimes in VS Code #65

imrank03 opened this issue Mar 6, 2025 · 3 comments

Comments

@imrank03
Copy link

imrank03 commented Mar 6, 2025

I installed rustowl by following the instructions in the README, but it is not visualizing ownership movement and lifetimes in my VS Code. When I save Rust source code, no underlines (green, blue, purple, orange, or red) appear when hovering over variables or function calls.

I have tried restarting VS Code and reloading the window, but the issue persists. Am I missing any configuration steps? Any help would be appreciated.

@imrank03 imrank03 changed the title rustowl Colors Not Reflecting in VS Code rustowl Not Visualizing Ownership and Lifetimes in VS Code Mar 6, 2025
@yashwanthsinghm
Copy link

Facing similar problem i have met the all the prerequisites mentioned.

@cheako

This comment has been minimized.

@cordx56
Copy link
Owner

cordx56 commented Mar 8, 2025

Can you run cargo owlsp without any errors?
If you can, maybe the problem is your program.

Are you opening cargo workspace? Single Rust file are not supported.
Also, RustOwl does not work when your program has type errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants