-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Smart Select language service API #31028
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
andrewbranch
merged 26 commits into
microsoft:master
from
andrewbranch:feature/smart-select
May 16, 2019
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
af3d0f0
Start smart select API
andrewbranch f98c00a
Add more tests, special handling for mapped types
andrewbranch e62c233
Add support for string literals
andrewbranch fd88e52
Start imports
andrewbranch 039487c
Also skip TemplateHeads
andrewbranch 0a4ef0f
Distinguish between same-line and different-line braces
andrewbranch 61425cb
Move most logic to separate file
andrewbranch 0f7bc02
Move to language service
andrewbranch 70e2672
Add rules for expanding selection to sibling nodes
andrewbranch fcb7f01
Rethink sibling expansion by creating fake subtrees
andrewbranch 4ecdc82
Solidify fake tree approach
andrewbranch 74fc84f
Snap to nodes directly behind the cursor, create special rules for Pa…
andrewbranch d73eabd
Special rules for binding elements, extend brace/whitespace logic to …
andrewbranch fed910f
Add stop for JSDoc comments
andrewbranch 5479893
Skip lone variable declarations
andrewbranch f0f7d82
Remove debug info
andrewbranch d8936fd
Rename to be smarter
andrewbranch 12492a3
Rename test to match
andrewbranch 511cc79
Revert accidental line break added
andrewbranch 99ace03
Revert accidental line ending change
andrewbranch 6177596
Revert accidental submodule change I guess
andrewbranch f0a3d2b
Filter out zero-width selections
andrewbranch 6fc2e4a
Add custom baseline format for smart selection
andrewbranch e28b9b2
Copy smartSelect tests to fourslash
andrewbranch 3e30a7c
Remove all but one server unit test
andrewbranch eff3960
Fix baseline file name changes
andrewbranch 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
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.