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

Snapshot preview from extension is not working #318

Open
CyriacBr opened this issue Dec 26, 2022 · 0 comments
Open

Snapshot preview from extension is not working #318

CyriacBr opened this issue Dec 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@CyriacBr
Copy link

What happened?

I've used insta for a while now and the "jump to definition" feature from the VSCode extension has never worked for me.
Jumping to definition brings me to insta own source code.
I do get additional insta commands, so the extension is active.

Reproduction steps

A new rust project.
cargo install cargo-insta
cargo.toml:

[dev-dependencies]
insta = { version = "1", features = ["yaml"] }

Code that should show the Jump to definition:

insta::assert_snapshot!("foo");

Insta Version

insta = "1.23.0"

rustc Version

rustc 1.65.0 (897e37553 2022-11-02)

What did you expect?

Jumping to definition should work like in the README.

@CyriacBr CyriacBr added the bug Something isn't working label Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant