-
Notifications
You must be signed in to change notification settings - Fork 12.9k
'Move to file' refactor #53542
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
'Move to file' refactor #53542
Changes from 45 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
17d1a6b
tests for moce to another file
navya9singh 98bfb65
Works in moving to an existing blank file
navya9singh ea8de38
new change
navya9singh 393b093
test2 almost works
navya9singh fe30722
Part 2 works for test2
navya9singh f54ece7
generating list of file with test cases
navya9singh 9bfd52d
Test cases working as expected
navya9singh 58f2c9d
cleanup of tests and renaming to "move to file"
navya9singh e10b530
Merge branch 'main' of https://github.com/microsoft/TypeScript into t…
navya9singh 5603210
Resolving merge conflict changes
navya9singh dffe218
all tests pass
navya9singh 28d8258
duplicate code cleanup
navya9singh 6ff1f26
deleting 'triggerReason' property
navya9singh 4f09254
added export and deleted duplicated code
navya9singh 0866cfc
move exports to new file, fix doChange as needed
navya9singh 6884d00
combining createnewFile with moveToFileAndNewFile
navya9singh f98a457
removing `changeExistingFile` from textChanges
navya9singh eec2935
fix for an 'allowImportingTsExtensions' bug
navya9singh 9fd4778
cleanup, fixes after removing `changeExistingFile`
navya9singh b1cf74c
fixi testcases & add getSynthesizedDeepClone
navya9singh 2274ca1
Merge branch 'main' of https://github.com/microsoft/TypeScript into t…
navya9singh 53c5fa2
test needs to be fixed
navya9singh 93bca9c
Ensure cloned NodeArrays have a text range set
andrewbranch 7cb66dd
fixes for suggesting a list of files
andrewbranch 63d2a83
Ensure cloned NodeArrays have a text range set
andrewbranch a681bc9
Allow ImportAdder to insert imports into a new file
andrewbranch 52674ac
importAdder changes for MoveToFile
navya9singh a7aad23
Merge branch 'task29988' of https://github.com/microsoft/TypeScript i…
navya9singh 5666218
adding, cleaning up tests
navya9singh 7a12e5f
Merge branch 'main' of https://github.com/microsoft/TypeScript into t…
navya9singh 9c5efd5
Reverting changes for impoart adder for new file
navya9singh 6068ec4
Accepting baselines
navya9singh 9387f67
FmoduleSpecifier fixes and cleanup
navya9singh 4862931
Not needed
navya9singh f0e870d
Adressing pr comments
navya9singh b010444
adding new tests
navya9singh 5ecf83d
Fixing errors, accepting baselines
navya9singh 567a3c5
Removing exports, small changes
navya9singh 8af19ff
Adressing pr comments
navya9singh 08b9243
Merge branch 'task29988' of https://github.com/microsoft/TypeScript i…
navya9singh 6675cb7
Merge branch 'main' of https://github.com/microsoft/TypeScript into t…
navya9singh f4e73aa
Fixing baselines
navya9singh 38471a8
adressing comments
navya9singh 0439ddc
Merge branch 'main' of https://github.com/microsoft/TypeScript into t…
navya9singh 9734d4d
Changes for new api protocol
navya9singh 003113c
fixing tests
navya9singh 28d8564
accepting baselines
navya9singh e61ad6d
Simplifying fileSuggestions in session.ts
navya9singh ea6441d
Fixing return statement
navya9singh 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
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
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
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.