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

Go to definition for use statements #152

Open
gar1t opened this issue Sep 7, 2023 · 1 comment
Open

Go to definition for use statements #152

gar1t opened this issue Sep 7, 2023 · 1 comment

Comments

@gar1t
Copy link

gar1t commented Sep 7, 2023

I see that "Go to definition" works for used commands, but not for the the use statement.

For example:

use ../hello.nu hello

def main [] {
  hello
}

Go to definition works on the hello call in the main function but not on the use statement on the first line.

Am I missing something in a configuration/setting or is this the current intended behavior?

@fdncred
Copy link
Collaborator

fdncred commented Sep 7, 2023

This sounds like a bug or just an unimplemented feature and would probably need to be a changed in the nushell rust code in ide.rs.

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

2 participants