-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ExtractType and ExtractInterface refactoring via rename lib (#133)
* added Extract Type refactoring option * added Extract Interface refactoring option, fixes vshaxe/vshaxe#649 * added auto-discovery of classpath for rename cache - deprecating haxe.renameSourceFolders setting for Haxe 4 * added formatting option to text edits * added Extract Method refactoring option, fixes vshaxe/vshaxe#632 * added Extract Constructor Params refactor module * added Rewrite Vars to Finals and vice versa * added disableRefactorCache to allow disabling refactor cache * added Wrap With Try…Catch refactor module * added a delay for recently renamed files to ensure refactor cache doesn't see partial changes / duplicate types * added null check for hover.range, fixes vshaxe/vshaxe#641 * updated formatter and json2object libs * refactored rename cache * fixed repeated rename operations breaking rename cache * fixed rename / refactor operations not working on unsaved files * fixed formatter check failing with formatter git version * remove full cache invalidation before rename / refactor operation
- Loading branch information
Showing
23 changed files
with
967 additions
and
822 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ jobs: | |
submodules: true | ||
- run: | | ||
npm ci | ||
npx lix install haxelib:formatter | ||
npx lix run formatter -s . --check |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"version": "b537e99", | ||
"version": "2dc801f", | ||
"resolveLibs": "scoped" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# @install: lix --silent download "haxelib:/formatter#1.17.1" into formatter/1.17.1/haxelib | ||
# @run: haxelib run-dir formatter "${HAXE_LIBCACHE}/formatter/1.17.1/haxelib" | ||
-cp ${HAXE_LIBCACHE}/formatter/1.17.1/haxelib/src | ||
-D formatter=1.17.1 | ||
# @install: lix --silent download "haxelib:/formatter#1.18.0" into formatter/1.18.0/haxelib | ||
# @run: haxelib run-dir formatter "${HAXE_LIBCACHE}/formatter/1.18.0/haxelib" | ||
-cp ${HAXE_LIBCACHE}/formatter/1.18.0/haxelib/src | ||
-D formatter=1.18.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# @install: lix --silent download "gh://github.com/elnabo/json2object#429986134031cbb1980f09d0d3d642b4b4cbcd6a" into json2object/3.11.0/github/429986134031cbb1980f09d0d3d642b4b4cbcd6a | ||
# @install: lix --silent download "gh://github.com/elnabo/json2object#a75859de1e966c09e73591b6c9186086c143fe60" into json2object/3.11.0/github/a75859de1e966c09e73591b6c9186086c143fe60 | ||
-lib hxjsonast | ||
-cp ${HAXE_LIBCACHE}/json2object/3.11.0/github/429986134031cbb1980f09d0d3d642b4b4cbcd6a/src | ||
-cp ${HAXE_LIBCACHE}/json2object/3.11.0/github/a75859de1e966c09e73591b6c9186086c143fe60/src | ||
-D json2object=3.11.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# @install: lix --silent download "haxelib:/rename#2.3.0" into rename/2.3.0/haxelib | ||
-cp ${HAXE_LIBCACHE}/rename/2.3.0/haxelib/src | ||
-D rename=2.3.0 | ||
# @install: lix --silent download "haxelib:/rename#3.0.0" into rename/3.0.0/haxelib | ||
-cp ${HAXE_LIBCACHE}/rename/3.0.0/haxelib/src | ||
-D rename=3.0.0 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
Oops, something went wrong.