-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Change detection in organizeImports #57267
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
Merged
Merged
Changes from 28 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
f5421cc
add failing test
iisaduan fd0290b
more tests
iisaduan a0b3a0e
add detection tests
iisaduan 6f05577
improved test behavior
iisaduan 40722f5
improved test behavior
iisaduan 1dbec4f
add core/utility functions
iisaduan 566f326
update utility docs
iisaduan 321df23
update behavior in tests to the correct detection
iisaduan 4ae222d
update tests since "last" is no longer default
iisaduan 76efd15
update remaining tests and baselines
iisaduan 85198ac
first draft: detection implementation
iisaduan fbe645d
Merge branch 'main' of https://github.com/microsoft/TypeScript into d…
iisaduan 4b56b44
add detectionByDiff to autoImports, update tests
iisaduan dadfe54
move diff unit tests to unittests/utilities.ts
iisaduan 8067f5f
in progress
iisaduan e3ccaf1
change detection method to "isSorted" check
iisaduan 094c607
rename functions and update services/utilities.ts
iisaduan 7f11421
separate detection into module and named
iisaduan ab4c78c
removed old detection from importFixes and services/utilities
iisaduan eb54e77
remove old detection
iisaduan c7c57f7
remove casts
iisaduan 64f1468
clean up
iisaduan 2f0d437
Merge branch 'main' of https://github.com/iisaduan/TypeScript into de…
iisaduan c5239e7
Merge branch 'main' of https://github.com/microsoft/TypeScript into d…
iisaduan bd5c01a
fix comments
iisaduan 34e3502
remove unused functions
iisaduan 2593f8c
add type OrganizeImportsTypeOrder
iisaduan 97e3e75
fix autoimport type order bug
iisaduan 5d0517f
remove unused
iisaduan 10f64a2
in progress--moving to codespace
iisaduan 0364735
add detection baselines
iisaduan 5672604
finish updating autoImports
iisaduan aa57e41
merge main
iisaduan fa5bbdb
clean up organizeImports file
iisaduan 7442236
clean up organizeImports file
iisaduan a1954ec
Merge branch 'detect-organize-imports' of https://github.com/iisaduan…
iisaduan 2127d55
correct auto imports tests for auto type promotion
iisaduan 520d4ca
fix importFixes to compare the new imports
iisaduan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.