GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fixing delay caused in vscode due to pasteEdits by navya9singh · Pull Request #59542 · microsoft/TypeScript

Conversation

@navya9singh

@navya9singh navya9singh commented Aug 7, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

This pr fixes the delay in vscode. The delay happened due to iterating over the entire target file and going through each node to see if it needed to be resolved. This is fixed by going over only the pasted range of text and then stepping through each child node to see if it needs to be resolved

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
navya9singh added 6 commits July 23, 2024 11:01
@navya9singh
cherry pick with fixes
10be994
@navya9singh
Revert "Fixing range for primary edit (microsoft#59369)"
0d5380b
This reverts commit b04c8a0.
@navya9singh
Reapply "Fixing range for primary edit (microsoft#59369)"
7b1d203
This reverts commit 0d5380b.
@navya9singh
approach 1
b56a4af
@navya9singh
new approach that fixes delay
4544ad3
@navya9singh
Revert "cherry pick with fixes"
44626c4
This reverts commit 10be994.
@typescript-bot TypeScript Bot (typescript-bot) assigned navya9singh Aug 7, 2024
@typescript-bot TypeScript Bot (typescript-bot) added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Aug 7, 2024
jakebailey
Jake Bailey (jakebailey) reviewed Aug 7, 2024
View reviewed changes
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@navya9singh
navya9singh requested a review from Andrew Branch (andrewbranch) August 7, 2024 00:18
@navya9singh
fixing import
e12d2cf
DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) reviewed Aug 7, 2024
View reviewed changes
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) reviewed Aug 7, 2024
View reviewed changes
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) reviewed Aug 7, 2024
View reviewed changes
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) reviewed Aug 7, 2024
View reviewed changes
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) reviewed Aug 7, 2024
View reviewed changes
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jakebailey Jake Bailey (jakebailey) mentioned this pull request Aug 7, 2024
Fix accidental relative imports from non namespace barrels #59544
Merged
navya9singh added 3 commits August 12, 2024 09:55
@navya9singh
Merge branch 'main' of https://github.com/microsoft/TypeScript into d…
f292acd
…elay
@navya9singh
adressing pr comments
30e5e2d
@navya9singh
fix formatting
8248ff8
@navya9singh
navya9singh requested a review from Daniel Rosenwasser (DanielRosenwasser) August 12, 2024 17:34
@navya9singh
adding +1 -1 back
c0b1356
DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) requested changes Aug 12, 2024
View reviewed changes

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Create some tests around the specific questions I mentioned if they don't already exist.

Also, I think you need a few more tests for when the paste replacement text items are (compared to their target ranges):

  1. consistently equal in size
  2. consistently smaller in size
  3. consistently larger in size
  4. vary by growing in size
  5. vary by shrinking in size

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/services/pasteEdits.ts Outdated
const updatedRanges: TextRange[] = [];
let offset = 0;
pasteLocations.forEach((location, i) => {
const deletionNeeded = location.pos === location.end ? 0 : location.end - location.pos;

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) Aug 12, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

If location.pos === location.end, you'll end up with 0 on the second branch - so this is more about the length of the paste selection, right?

I'd recommend getting rid of the unnecessary branch and rewriting this to something like

const selectedTextLength = location.end - location.pos;

or

const pasteSelectionLength = location.end - location.pos;

or

const oldTextLength = location.end - location.pos;

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

navya9singh added 2 commits August 13, 2024 13:03
@navya9singh
adding more test cases
b660771
@navya9singh
deleting old baseline
c0f61de
@navya9singh
navya9singh requested a review from Daniel Rosenwasser (DanielRosenwasser) August 13, 2024 20:14
DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) reviewed Aug 13, 2024
View reviewed changes
Comment thread src/services/pasteEdits.ts Outdated
});

updatedRanges.forEach(range => {
const enclosingNode = findAncestor(getTokenAtPosition(context.sourceFile, range.pos), ancestorNode => rangeContainsPosition(ancestorNode, range.end));

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) Aug 13, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Aside: I almost wanted to suggest rangeContainsRange but I guess this just works because you've found the token at the start position, but you're trying to find the parent that also contains the end.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) requested changes Aug 13, 2024
View reviewed changes

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Looking a lot better! I left some sugestions. I'd look over the other tests to see if they need similar feedback, but there's a cat on my right arm.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with heart emoji
All reactions
  • ❤️ 1 reaction
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/cases/fourslash/server/pasteEdits_multiplePastesConsistentlyLargerInSize.ts Outdated
Comment on lines +41 to +46
pastedText: [ `const t = 1 + juice + p;`,`function avacado() { return sauce; }`,
`fig + kiwi`,
`function k() {
const cherry = 3 + tomato + cucumber;
}`
],

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) Aug 13, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Suggested change
pastedText: [ `const t = 1 + juice + p;`,`function avacado() { return sauce; }`,
`fig + kiwi`,
`function k() {
const cherry = 3 + tomato + cucumber;
}`
],
pastedText: [
`const t = 1 + juice + p;`,`function avacado() { return sauce; }`,
`fig + kiwi`,
`function k() {
const cherry = 3 + tomato + cucumber;
}`
],

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread tests/cases/fourslash/server/pasteEdits_multiplePastesConsistentlyLargerInSize.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/cases/fourslash/server/pasteEdits_multiplePastesConsistentlyLargerInSize.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@navya9singh
fixing tests
9acc51a
@navya9singh
navya9singh requested a review from Daniel Rosenwasser (DanielRosenwasser) August 13, 2024 22:15
sheetalkamat
Sheetal Nandi (sheetalkamat) reviewed Aug 14, 2024
View reviewed changes
Comment thread src/services/pasteEdits.ts Outdated
Comment on lines +118 to +125
pasteLocations.forEach((location, i) => {
const oldTextLength = location.end - location.pos;
const textToBePasted = actualPastedText ? actualPastedText[0] : pastedText[i];
const startPos = location.pos + offset;
const endPos = startPos + textToBePasted.length;
updatedRanges.push({ pos: startPos, end: endPos });
offset += textToBePasted.length - oldTextLength;
});

@sheetalkamat Sheetal Nandi (sheetalkamat) Aug 14, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Why is it that this need to be separate pass and not inline where we are iterating over nodes in the the updated range?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@navya9singh navya9singh Aug 14, 2024

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

In the updatedFile, we don't know the exact range of where the pasted text exists, so doing this pass helps us get the right location of the pasted text. Then, it becomes easy to just go over the updated ranges and check for unresolved nodes. Is that what you were asking about?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@sheetalkamat Sheetal Nandi (sheetalkamat) Aug 14, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Isnt it same as :

let offset = 0;
            pasteLocations.forEach((location, i) => {
                const oldTextLength = location.end - location.pos;
                const textToBePasted = actualPastedText ? actualPastedText[0] : pastedText[i];
                const startPos = location.pos + offset;
                const endPos = startPos + textToBePasted.length;
                const range = { pos: startPos, end: endPos } satisfies TextRange;
                offset += textToBePasted.length - oldTextLength;
                const enclosingNode = findAncestor(
                    getTokenAtPosition(context.sourceFile, range.pos),
                    ancestorNode => rangeContainsRange(ancestorNode, range),
                );
                if (!enclosingNode) return;
                forEachChild(enclosingNode, function importUnresolvedIdentifiers(node) {
                    if (
                        isIdentifier(node) && rangeContainsPosition(
                            range,
                            node.getStart(updatedFile),
                        ) && !originalProgram?.getTypeChecker().resolveName(
                            node.text,
                            node,
                            SymbolFlags.All,
                            /*excludeGlobals*/ false,
                        )
                    ) {
                        return importAdder.addImportForUnresolvedIdentifier(
                            context,
                            node,
                            /*useAutoImportProvider*/ true,
                        );
                    }
                    node.forEachChild(importUnresolvedIdentifiers);
                });
            });

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@navya9singh
navya9singh marked this pull request as ready for review August 14, 2024 16:42
@navya9singh
navya9singh requested a review from Sheetal Nandi (sheetalkamat) August 14, 2024 17:09
@navya9singh
adressing pr comments
aebaae1
DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) requested changes Aug 14, 2024
View reviewed changes
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/services/pasteEdits.ts Outdated
const textToBePasted = actualPastedText ? actualPastedText[0] : pastedText[i];
const startPos = location.pos + offset;
const endPos = startPos + textToBePasted.length;
const range = { pos: startPos, end: endPos } satisfies TextRange;

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) Aug 14, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Suggested change
const range = { pos: startPos, end: endPos } satisfies TextRange;
const range: TextRange = { pos: startPos, end: endPos };

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/services/pasteEdits.ts Outdated
if (
isIdentifier(node) && rangeContainsPosition(
range,
node.getStart(updatedFile),

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) Aug 14, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Do you need to run node.getStart()? Can you just use node.pos?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@navya9singh navya9singh Aug 15, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Yes, node.pos gives the position with the whitespaces. So, for example in pasteEdits_multiplePastesConsistentlyLargerInSize.ts for the 3rd paste location (const test = [|1 + 2|] + 3; ) , node.pos will give the position of the whitespace before 1, but the updated range of the pasted text starts from 1. As node.pos will not lie in this range, it will skip checking for the pasted text here. node.Start() avoids this by giving the exact position of 1.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/services/pasteEdits.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/cases/fourslash/server/pasteEdits_multiplePastesEqualInSize.ts Outdated
`function k() {
const cherry = 3 + tomato + cucumber;
}`
],

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) Aug 14, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Suggested change
],
],

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread tests/cases/fourslash/server/pasteEdits_multiplePastesGrowingInSize.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/services/pasteEdits.ts Outdated
let offset = 0;
pasteLocations.forEach((location, i) => {
const oldTextLength = location.end - location.pos;
const textToBePasted = actualPastedText ? actualPastedText[0] : pastedText[i];

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) Aug 14, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Is it ever possible that the count of paste locations exceeds the number of items in pastedText?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@sheetalkamat Sheetal Nandi (sheetalkamat) Aug 15, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This is done at top of the function to make sure its always right

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@navya9singh navya9singh Aug 15, 2024

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Yes, in that case all pastedText is joined together with a newline character and that is pasted at all locations. Line 64 does this.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) Aug 15, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Gotcha - while you're here, can you fix that so it uses the appropriate newline character instead of \n?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) Aug 15, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Also, actualPastedText doesn't have to be an array if you only ever use it for actualPastedText[0]. Just use actualPastedText ?? pastedText[i].

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@navya9singh navya9singh Aug 16, 2024

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Do you mean using getNewLineOrDefaultFromHost() for the appropriate newline character?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
sheetalkamat
Sheetal Nandi (sheetalkamat) approved these changes Aug 15, 2024
View reviewed changes

@sheetalkamat Sheetal Nandi (sheetalkamat) left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Apart from daniel's code formatting comments, looks good.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
navya9singh added 3 commits August 15, 2024 11:06
@navya9singh
fixing formatting
5044795
@navya9singh
Merge branch 'main' of https://github.com/microsoft/TypeScript into d…
76897ba
…elay
@navya9singh
formatting fix
d7083b8
andrewbranch
Andrew Branch (andrewbranch) requested changes Aug 15, 2024
View reviewed changes
Comment thread src/services/pasteEdits.ts Outdated
forEachChild(enclosingNode, function importUnresolvedIdentifiers(node) {
const isImportCandidate = isIdentifier(node) &&
rangeContainsPosition(range, node.getStart(updatedFile)) &&
!originalProgram?.getTypeChecker().resolveName(

@andrewbranch Andrew Branch (andrewbranch) Aug 15, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Shouldn’t this use the updated program? For example, if I have a single paste of

const b = 0;
console.log(b);

won’t this try to resolve b against the original text which didn’t have a declaration for b, so we’ll try to auto-import it unnecessarily?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@sheetalkamat Sheetal Nandi (sheetalkamat) Aug 15, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I didnt see this before, but originalProgram's typechecker usage is sketchy as well.. The reuse of sourceFile and parent pointer changing makes it non-viable to use.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

navya9singh and DanielRosenwasser reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

@andrewbranch Andrew Branch (andrewbranch) Aug 15, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Can you add a test that fails when using originalProgram?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

DanielRosenwasser and navya9singh reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
@navya9singh
changing originalProgram to updatedProgram
a29d5a8
@navya9singh
navya9singh requested review from Daniel Rosenwasser (DanielRosenwasser) and Andrew Branch (andrewbranch) August 15, 2024 20:18
@navya9singh
adding test for updatedProgram change
f80483c
andrewbranch
Andrew Branch (andrewbranch) approved these changes Aug 16, 2024
View reviewed changes
DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) reviewed Aug 16, 2024
View reviewed changes
Comment thread tests/cases/fourslash/server/pasteEdits_noImportNeededInUpdatedProgram.ts Outdated
pastedText: [
`const b = 1;
console.log(b);`],
pasteLocations: [range[0]],

@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) Aug 16, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Two things

  1. Make this test.ranges() like everywhere else.
  2. In the future, if you have an array, use the plural version (ranges instead of range).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

andrewbranch and navya9singh reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
@navya9singh
fixing small errors
65490bf
@navya9singh
navya9singh requested a review from Daniel Rosenwasser (DanielRosenwasser) August 16, 2024 21:38
DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) approved these changes Aug 20, 2024
View reviewed changes
@DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) merged commit 2192336 into microsoft:main Aug 20, 2024
@DanielRosenwasser

Daniel Rosenwasser (DanielRosenwasser) commented Aug 20, 2024

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) cherry-pick this to release-5.6

typescript-bot reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 20, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
cherry-pick this to release-5.6 ✅ Started ✅ Results
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

TypeScript Bot (typescript-bot) pushed a commit that referenced this pull request Aug 20, 2024
@navya9singh @typescript-bot
Fixing delay caused in vscode due to pasteEdits (#59542)
8bee495
@typescript-bot TypeScript Bot (typescript-bot) mentioned this pull request Aug 20, 2024
🤖 Pick PR #59542 (Fixing delay caused in vscode due t...) into release-5.6 #59695
Merged
@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 20, 2024

Copy link
Copy Markdown
Contributor

Hey, Daniel Rosenwasser (@DanielRosenwasser)! I've created #59695 for you.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Daniel Rosenwasser (DanielRosenwasser) pushed a commit that referenced this pull request Aug 20, 2024
TypeScript Bot @navya9singh
🤖 Pick PR #59542 (Fixing delay caused in vscode due t...) into releas…
bbb5faf
…e-5.6 (#59695)

Co-authored-by: navya9singh <[email protected]>
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@jakebailey Jake Bailey (jakebailey) jakebailey left review comments
@sheetalkamat Sheetal Nandi (sheetalkamat) sheetalkamat approved these changes
@DanielRosenwasser Daniel Rosenwasser (DanielRosenwasser) DanielRosenwasser approved these changes
@andrewbranch Andrew Branch (andrewbranch) andrewbranch approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@navya9singh navya9singh

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@navya9singh @DanielRosenwasser @typescript-bot @andrewbranch @jakebailey @sheetalkamat
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.