Repository navigation
Fix more LS escaping related bugs #65665
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
Open
Jake Bailey (jakebailey)
wants to merge
53
commits into
microsoft:main
Choose a base branch
from
jakebailey:fix-ls-edit-escaping
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
ebff411
Add tests for file rename edits with quotes in paths
jakebailey 63debea
Escape module specifiers in file rename edits
jakebailey 10ba4db
Add tests for comment terminators in JSDoc module specifiers
jakebailey 596490e
Escape comment terminators in JSDoc module specifiers
jakebailey ba562d7
Add a test for comment terminators in JSDoc @param completions
jakebailey 525a497
Omit unsafe text from JSDoc @param completions
jakebailey d583866
Add tests for snippet escaping in member completions
jakebailey d12ed50
Skip snippet escaping in non-snippet completions
jakebailey f67a303
Add a test for backslashes in JSX closing tag snippets
jakebailey 67abaf4
Escape backslashes in snippet text
jakebailey 749922c
Add tests for new names in string literal rename edits
jakebailey 5479fe5
Escape new names in string literal rename edits
jakebailey 11ef57d
Add a test for non-identifier mapped property names in member fixes
jakebailey 3c8afb7
Quote non-identifier mapped property names in member fixes
jakebailey fb37193
Add a test for literal names in binding extraction
jakebailey b9b9a0e
Use element access for literal names in binding extraction
jakebailey 8b83399
Add a test for string import names when promoting type-only imports
jakebailey 3a6fb85
Preserve string import names when promoting type-only imports
jakebailey 6a08240
Add a test for JSX auto-import names with multi-byte characters
jakebailey d95d81b
Decode the first character of JSX auto-import names as a rune
jakebailey 055d8f1
Add a test for quotes in import attributes when organizing imports
jakebailey 80864bd
Quote import attributes when grouping imports to organize
jakebailey dcd1ebe
Add a test for line separators in quoted completion text
jakebailey 02e3a5c
Escape line separators in quoted completion text
jakebailey 982acfd
Add tests for non-identifier names in aliased rename edits
jakebailey 36065c8
Quote non-identifier names in aliased rename edits
jakebailey 68bfda6
Add a test for string export names in declaration emit
jakebailey 11b5d4c
Skip string export names when naming types through import types
jakebailey 2e524bd
Add a test for JSON escapes in tsconfig rename edits
jakebailey ed44555
Use JSON escapes in tsconfig rename edits
jakebailey b0a7fc2
Add a test for reference paths containing a quote
jakebailey 465e410
Switch quotes for reference paths containing a quote
jakebailey 432607c
Add a test for JSX auto-import of non-ASCII component names
jakebailey 725e17d
Use JSX intrinsic tag rules for auto-import names
jakebailey 189cf98
Add a test for comment terminators in nested JSDoc @param names
jakebailey 2bcbf1b
Omit unsafe nested property names from JSDoc @param completions
jakebailey 5444ad1
Add a test for string export names in re-exporting modules
jakebailey dc316a1
Skip string export names when indexing module containers
jakebailey 94f528c
Quote numeric property names renamed to non-identifiers
jakebailey 484ee12
Add a test for alias renames of string-named re-exports
jakebailey c6ae057
Quote both names when aliasing string-named re-exports
jakebailey 749a411
Add a test for renaming string literals in JSX attributes
jakebailey fe6956f
Write renamed JSX attribute strings without escapes
jakebailey c5a5d77
Add a test for quoted names in renamed JSDoc imports
jakebailey 321a27a
Escape comment terminators in names quoted by JSDoc import renames
jakebailey ffb21ed
Add a test for comment terminators in JSDoc string completions
jakebailey 7ffa8ad
Escape comment terminators in JSDoc string completions
jakebailey 8bf3ea3
Name unique-symbol mapped members with computed names
jakebailey a0ebe18
Add a test for string export names through namespace imports
jakebailey ea49fb1
Skip string export names when qualifying through namespace imports
jakebailey ab0e1d2
Add a test for renaming namespace exports to non-identifiers
jakebailey b6adb49
Quote non-identifier names in renamed namespace exports
jakebailey 97c34a4
Quote non-identifier names of declarationless members in member fixes
jakebailey 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
Oops, something went wrong.
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.