Skip to content
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

Request symbols only if document text in cell #15601

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

DonJayamanne
Copy link
Contributor

@DonJayamanne DonJayamanne commented Apr 24, 2024

@@ -259,8 +259,10 @@ export class NotebookDocumentSymbolTracker {
});

e.cellChanges.forEach((change) => {
this._requestCellSymbols(change.cell, false).then(noop, noop);
this._updateCellStatus(change.cell, CellExecutionStatus.Stale);
if (change.document) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this should be done only when there are changes to the text in the cells

@DonJayamanne DonJayamanne marked this pull request as ready for review April 24, 2024 21:00
@VSCodeTriageBot VSCodeTriageBot added this to the April 2024 milestone Apr 24, 2024
@DonJayamanne DonJayamanne merged commit d18d035 into main Apr 26, 2024
28 checks passed
@DonJayamanne DonJayamanne deleted the checkIfDocumentHasChanged branch April 26, 2024 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants