-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Making Move To File
Action appear less often
#57080
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 all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
b8ea147
wip
aiday-mar 1adf357
Merge branch 'microsoft:main' into main
aiday-mar 9e8359e
adding changes
aiday-mar 0547a88
formatting the code correctly
aiday-mar 2472259
adding a missing comma
aiday-mar afc1fd2
adding baseline change
aiday-mar f0b00aa
review changes
aiday-mar d7eedd8
adding code from review
aiday-mar 7d21d2d
code review changes
aiday-mar 766a690
Merge branch 'main' of github.com:aiday-mar/TypeScript into pr/aiday-…
aiday-mar 32fce2a
add back template file
aiday-mar bbff752
fixing formatting and linting errors
aiday-mar dea141a
making the preferences object also parameter for the tests
aiday-mar 3b78378
fixing formatting errors
aiday-mar 1cad4fe
adding changes
aiday-mar be3e49c
polishing
aiday-mar 4e60710
removing duplicate type
aiday-mar e59f006
polishing tsts
aiday-mar 1e74fc3
adding baseline change
aiday-mar db1078e
adding review changes
aiday-mar fa0a7d6
removing the rest of the rootNode code
aiday-mar 89d5a88
adding review changes
aiday-mar 154fcc5
adding a reason also into the comment
aiday-mar c6b461c
adding a semi colon
aiday-mar 22c8fb3
changing to fetching the token at the end position
aiday-mar dcf2ffb
correcting the test
aiday-mar 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/// <reference path='fourslash.ts' /> | ||
|
||
////namespace ns { | ||
//// /*a*/export function fn() { | ||
//// } | ||
//// fn(); | ||
//// /*b*/ | ||
////} | ||
|
||
goTo.select("a", "b"); | ||
verify.not.refactorAvailable("Move to file", | ||
/*actionName*/ undefined, | ||
/*actionDescription*/ undefined, | ||
/*kind*/ undefined, | ||
{ | ||
allowTextChangesInNewFiles : true | ||
}, | ||
/*includeInteractiveActions*/ true); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/// <reference path='fourslash.ts' /> | ||
|
||
/////*a*/ | ||
////namespace ns { | ||
//// export function fn() { | ||
//// } | ||
//// fn(); | ||
////} | ||
/////*b*/ | ||
|
||
goTo.select("a", "b"); | ||
verify.refactorAvailable("Move to file", | ||
/*actionName*/ undefined, | ||
/*actionDescription*/ undefined, | ||
/*kind*/ undefined, | ||
{ | ||
allowTextChangesInNewFiles : true | ||
}, | ||
/*includeInteractiveActions*/ true); | ||
|
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.