-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vscode): go to definition (#4522)
https://github.com/winglang/wing/assets/1237390/7a9449d5-f147-408c-b3ed-cbb82863726b Fixes #2225 As part of adding this feature, I changed the HoverVisitor into the SymbolLocator. This also now uses VisitorContext to be more in line with other parts of the compiler. hover and goto_definition are both able to make use of this tool. If you're wondering about the difference between "go to definition" and "go to declaration": For now they are lumped in together for simplicity, but there is value in separation. I'm willing to bet that this feature will satisfy what a lot of people are looking for right now. *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
- Loading branch information
1 parent
43a8808
commit 471f187
Showing
19 changed files
with
1,116 additions
and
526 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.