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

feat: Pre-cache identifiers, find all references, rename symbol, signature helper #26

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

kylmp
Copy link
Contributor

@kylmp kylmp commented Jan 19, 2025

Basically v2.0; lots of added functionality and fixes

  • Preprocess the workspace to build a cache of identifiers, rather than searching files at runtime
  • Adds the "find all references" functionality
  • Adds the "rename symbol" functionality
  • Adds the "signature helper" functionality
  • Adds the "auto completion" functionality
  • Adds match type for components
  • Fix bug with local vars not being matched accurately
  • Save ID to all identifier objects, display on hover
  • Match with return statements, and added support for multiple return types
  • Match with switch cases
  • Match with pack files
  • Handle cert obj matches & references to the non-cert obj
  • warning message if you try to put a value that does not exist

Cache Sizes
image

@kylmp kylmp force-pushed the preprocess-cache branch 3 times, most recently from ce986d7 to 948cfb1 Compare January 19, 2025 01:52
@kylmp kylmp marked this pull request as ready for review January 20, 2025 23:29
@kylmp kylmp force-pushed the preprocess-cache branch 10 times, most recently from 5b6d4d8 to 2b91e7d Compare January 25, 2025 04:47
@kylmp kylmp marked this pull request as draft January 25, 2025 23:52
@kylmp kylmp marked this pull request as ready for review January 27, 2025 09:46
@kylmp kylmp changed the title feat: Pre-cache all identifiers and find all references implementation feat: Pre-cache identifiers, find all references, rename symbol Jan 27, 2025
@kylmp kylmp changed the title feat: Pre-cache identifiers, find all references, rename symbol feat: Pre-cache identifiers, find all references, rename symbol, signature helper Jan 29, 2025
@kylmp kylmp force-pushed the preprocess-cache branch 2 times, most recently from 7ac2fdf to 966512e Compare February 3, 2025 03:18
@kylmp kylmp force-pushed the preprocess-cache branch 11 times, most recently from e4d179b to 264a96a Compare February 8, 2025 13:29
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.

1 participant