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

Refactoring lots of things #12

Merged
merged 59 commits into from
Dec 23, 2024
Merged

Refactoring lots of things #12

merged 59 commits into from
Dec 23, 2024

Conversation

AlexHaxe
Copy link
Member

@AlexHaxe AlexHaxe commented Nov 7, 2024

  • added invalidateFile / removeFile to allow rescan in case of file changes or deletion
  • added support for create and delete file operations as edits
  • added ExtractType refactor module
  • added ExtractInterface refactor module
  • changed Refactor class to Rename
  • changed getFullModulName call to fullModuleName property
  • fixed type name renaming not changing in use locations
  • fixed discovery of arrow functions as type hints

…hanges or deletion

- added support for create and delete file operations as edits
- changed Refactor class to Rename
- changed getFullModulName call to fullModuleName property
- fixed type name renaming not changing in use locations
fixed discovery of arrow functions as type hints
reorganised refactor and rename into different packages
added unittests for refactor modules
added clear method to FileList, MemCache, NameMap and TypeList
fixed findTokensAtPos to account for positions in whitespace
added unittests
@skial skial mentioned this pull request Nov 14, 2024
1 task
fixed abstract enum type resolution
added testcases
fixed extract type from root package
fixed insert position for empty constructor body
fixed null pointer error on identifiers without a defineType
fixed discovery of switch / case capture variables
fixed discovery of type checks
reworked identifier discovery
reworked typhint handling
@AlexHaxe AlexHaxe merged commit 27e8f7a into master Dec 23, 2024
4 checks passed
@AlexHaxe AlexHaxe deleted the refactoring branch December 23, 2024 14:30
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