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.

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.
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