You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Go to definition" currently doesn't work for path segments. For example if you have use foo::bar and click on foo, it doesn't take you to the foo module. Similarly, if you have a call like foo::bar(), clicking on foo doesn't do anything. Then, if you have mod foo;, clicking on foo doesn't do anything either.
Happy Case
Clicking on any part of a path, be it in a mod statement, use statement, a call or a reference to a type, etc., should take you to the module declaration. This should work both for modules declared in a file as well as inline modules (mod foo { ... }).
Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
Yes
Support Needs
No response
The text was updated successfully, but these errors were encountered:
# Description
## Problem
Resolves#5405
## Summary
Now clicking on module segments works as expected.
https://github.com/noir-lang/noir/assets/209371/e8968eea-ad0b-4d85-9500-db31e46009a0
## Additional Context
## Documentation
Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.
# PR Checklist\*
- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
---------
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Problem
"Go to definition" currently doesn't work for path segments. For example if you have
use foo::bar
and click onfoo
, it doesn't take you to thefoo
module. Similarly, if you have a call likefoo::bar()
, clicking onfoo
doesn't do anything. Then, if you havemod foo;
, clicking onfoo
doesn't do anything either.Happy Case
Clicking on any part of a path, be it in a
mod
statement,use
statement, a call or a reference to a type, etc., should take you to the module declaration. This should work both for modules declared in a file as well as inline modules (mod foo { ... }
).Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
Yes
Support Needs
No response
The text was updated successfully, but these errors were encountered: