Skip to content

Implementing copy/paste - #57262

Merged
Sheetal Nandi (sheetalkamat) merged 53 commits into
microsoft:mainfrom
navya9singh:testingCopyPaste
May 8, 2024
Merged

Implementing copy/paste#57262
Sheetal Nandi (sheetalkamat) merged 53 commits into
microsoft:mainfrom
navya9singh:testingCopyPaste

Conversation

@navya9singh

@navya9singh navya9singh commented Feb 1, 2024

Copy link
Copy Markdown
Member

Fixes #50187

@typescript-bot

Copy link
Copy Markdown
Contributor

Thanks for the PR! It looks like you've changed the TSServer protocol in some way. Please ensure that any changes here don't break consumers of the current TSServer API. For some extra review, we'll ping Sheetal Nandi (@sheetalkamat), Matt Bierner (@mjbvz), Kat Marchán (@zkat), and Joaquin Jares (@joj) for you. Feel free to loop in other consumers/maintainers if necessary.

Comment thread src/services/codefixes/importFixes.ts
Comment thread src/harness/client.ts Outdated
Comment thread tests/cases/fourslash/server/postPasteImportFix_multiplePastes2.ts Outdated

@mjbvz Matt Bierner (mjbvz) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just reviewed the protocol changes. Direction looks good but had a few suggestions for using different types

Comment thread src/server/protocol.ts Outdated
Comment thread src/server/protocol.ts Outdated
Comment thread src/server/protocol.ts Outdated
Comment thread src/server/project.ts Outdated
Comment thread src/services/postPasteImportFix.ts Outdated
Matt Bierner (mjbvz) pushed a commit to microsoft/vscode that referenced this pull request Feb 7, 2024
For microsoft/TypeScript#57262 but with proposed changes to ts protocol
@typescript-bot

Copy link
Copy Markdown
Contributor

Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page.

Also, please make sure Daniel Rosenwasser (@DanielRosenwasser) and Ryan Cavanaugh (@RyanCavanaugh) are aware of the changes, just as a heads up.

@navya9singh
navya9singh marked this pull request as ready for review February 12, 2024 23:54
Comment thread src/services/codefixes/importFixes.ts Outdated
Comment thread tests/cases/fourslash/server/pasteEdits_knownSourceFile.ts Outdated
Comment thread src/server/protocol.ts Outdated
Comment thread tests/cases/fourslash/server/pasteEdits_existingImports1.ts Outdated
Comment thread src/testRunner/unittests/tsserver/pasteEdits.ts Outdated
Comment thread src/testRunner/unittests/tsserver/pasteEdits.ts Outdated
Comment thread tests/cases/fourslash/server/pasteEdits_existingImports1.ts Outdated
@sheetalkamat
Sheetal Nandi (sheetalkamat) dismissed Daniel Rosenwasser (DanielRosenwasser)’s stale review May 8, 2024 23:00

Trying to dismiss this to see if it enables merging. Right now its blocked

@sheetalkamat

Copy link
Copy Markdown
Member

Daniel Rosenwasser (@DanielRosenwasser) navya9singh wasnt able to merge because it was marked as pending your review and you are oof. And the feedback seems to be addressed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bring along imports when copy and pasting code across files

8 participants