-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
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
added test cases WIP support for different code layouts/configurations when extracting methods
refactored CodeGens added more cases for open ended return types
fixed duplicated identifiers for return values modified codegens
fixed discovery of identifiers in if conditions
added testcases fixed Null<T> handling
added testcases
added testcase
changed resolve to reject in error cases
added testcaes
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.