Skip to content

feat: jump through re-exported symbols with Go to Declaration#395

Merged
withered-magic merged 4 commits intomainfrom
withered-magic/jump-through-aliases
Jun 29, 2025
Merged

feat: jump through re-exported symbols with Go to Declaration#395
withered-magic merged 4 commits intomainfrom
withered-magic/jump-through-aliases

Conversation

@withered-magic
Copy link
Owner

@withered-magic withered-magic commented Jun 28, 2025

Fixes: #384

Adds the --experimental_goto_definition_skip_re_exports flag to allow "Go to Definition" functionality to skip through re-exports like go_library = _go_library_macro.

This PR also adds "Go to Declaration" support, which acts exactly like "Go to Definition" with --experimental_goto_definition_skip_re_exports enabled.

@withered-magic withered-magic force-pushed the withered-magic/jump-through-aliases branch from 0a6aa32 to c7daa4b Compare June 29, 2025 00:03
@withered-magic withered-magic merged commit 28cf717 into main Jun 29, 2025
2 checks passed
@withered-magic withered-magic deleted the withered-magic/jump-through-aliases branch June 29, 2025 00:13
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

Successfully merging this pull request may close these issues.

Jump through aliases with go to definition

1 participant