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

Fix "Go to definition" for GDScript type hints #69473

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

BBBenG23
Copy link
Contributor

@BBBenG23 BBBenG23 commented Dec 2, 2022

This change is intended to fix issue #68475

Here is the project that I used to test my changes

example.zip

Production edit: Fixes #68475

@BBBenG23 BBBenG23 requested review from a team as code owners December 2, 2022 16:27
@BBBenG23 BBBenG23 force-pushed the go-to-type-definition-fix branch 6 times, most recently from 6775f72 to 5acf0e1 Compare December 2, 2022 17:05
@BBBenG23
Copy link
Contributor Author

BBBenG23 commented Dec 2, 2022

Building issue should be fixed

@BBBenG23 BBBenG23 requested a review from Chaosus December 2, 2022 17:48
modules/gdscript/gdscript_editor.cpp Show resolved Hide resolved
modules/gdscript/gdscript_editor.cpp Outdated Show resolved Hide resolved
@BBBenG23 BBBenG23 force-pushed the go-to-type-definition-fix branch from 5acf0e1 to 4b74aac Compare December 3, 2022 20:22
@BBBenG23 BBBenG23 requested review from kleonc and removed request for Chaosus December 3, 2022 20:41
@KoBeWi KoBeWi removed request for a team December 9, 2022 13:16
@adamscott
Copy link
Member

@vnen What do you think of that PR? It seems fine to me.

Copy link
Member

@vnen vnen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akien-mga akien-mga changed the title Fixed "go to definition" for type hints Fix "Go to definition" for GDScript type hints Jun 19, 2023
@akien-mga akien-mga force-pushed the go-to-type-definition-fix branch from 4b74aac to 0803467 Compare June 19, 2023 13:30
@akien-mga
Copy link
Member

I pushed a rebase to get it to re-run CI checks, as the last build was more than 6 months ago. Also tweaked the commit message for clarity.

@akien-mga akien-mga merged commit cc89b97 into godotengine:master Jun 19, 2023
@akien-mga
Copy link
Member

Thanks! And congrats for your first merged Godot contribution 🎉

@BBBenG23 BBBenG23 deleted the go-to-type-definition-fix branch June 19, 2023 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GDScript "Go to definition" doesn't work in certain cases within type hints
6 participants