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

Fix VScode plug-in API incompatibilities for onDidChangeActiveTextEditor event #4503

Merged
merged 1 commit into from
Mar 11, 2019

Conversation

mmorhun
Copy link
Contributor

@mmorhun mmorhun commented Mar 7, 2019

Fixes incompatibilities in Theia plug-in API with VSCode:

  • on editor tab closing, VSCode fires onDidChangeActiveTextEditor event with undefined argument and then with the next editor, if any. However, Theia core doesn't switch focus to the next editor tab when current one is closed. Created issue for this problem.
  • When focus goes away from editor and goes back into it (for example window switch or click in files tree) and then returned back to the same editor, VSCode doesn't fire the event.

Was done while working on #4218

…tor event

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@mmorhun mmorhun self-assigned this Mar 7, 2019
@mmorhun mmorhun merged commit fed7546 into master Mar 11, 2019
@mmorhun mmorhun deleted the theia-4218 branch March 11, 2019 12:39
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.

4 participants