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

More asset types for the "Find all references" feature. #1594

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

VladiStep
Copy link
Member

@VladiStep VladiStep commented Jan 1, 2024

Description

  1. Added the "Find all references" feature support for the following types:
  • Fonts (basic references like draw_set_font(font))
  • (to be continued)
  1. Improved the feature support for the following types:
  • Game objects - searches in code for basic references like for fonts, added new "Game objects (parent entry)" type
  1. Some code improvements for Decompiler.ExpressionAssetRef.

Closes #1593.

Copy link

github-actions bot commented Jan 1, 2024

1) The "Find all references" feature also searches game objects in code, but only in single-argument functions (e.g. `instance_exists(id)`). The same for fonts.
2) Font and game objects references search in code also works for GM 2023.8.
3) Refactored the code.
@VladiStep VladiStep force-pushed the moreReferencesTypes branch from 4d02a22 to da1b697 Compare January 3, 2024 13:20
@VladiStep VladiStep force-pushed the moreReferencesTypes branch from 32f303d to 482346f Compare January 3, 2024 22:07
@VladiStep VladiStep force-pushed the moreReferencesTypes branch from 482346f to 102b3d2 Compare January 3, 2024 22:27
@VladiStep VladiStep force-pushed the moreReferencesTypes branch from 984cb73 to f868d28 Compare January 5, 2024 20:50
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.

Add more types for the "Find all references" feature.
1 participant