Skip to content

Conversation

Colengms
Copy link
Contributor

@Colengms Colengms commented Apr 8, 2025

I noticed that when updating the language of a file, although we do get a didClose and didOpen, we do not get a onDidChangeVisibleTextEditors. Without any other context, a didClose and didOpen without a onDidChangeVisibleTextEditors looks to us like that file is not visible. microsoft/vscode#246043

This fix always triggers a onDidChangeVisibleTextEditors callback whenever we see a didOpen for a file that appears to be currently visible in the editor.

@Colengms Colengms requested a review from a team as a code owner April 8, 2025 23:45
@github-project-automation github-project-automation bot moved this to Pull Request in cpptools Apr 8, 2025
@Colengms Colengms merged commit 2ca08b0 into main Apr 8, 2025
6 checks passed
@Colengms Colengms deleted the coleng/fix_missing_update branch April 8, 2025 23:59
@github-project-automation github-project-automation bot moved this from Pull Request to Done in cpptools Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants