KEMBAR78
Add listeners for multi diff tab editor by lramos15 · Pull Request #210094 · microsoft/vscode · GitHub
Skip to content

Conversation

@lramos15
Copy link
Member

@lramos15 lramos15 commented Apr 10, 2024

Fixes #206411

A little strange that we need to listen to MultiDiffEditorInputs specifically as a sort of one off case, but maybe there will be others in the future

@lramos15 lramos15 self-assigned this Apr 10, 2024
@lramos15 lramos15 enabled auto-merge (squash) April 10, 2024 18:35
@lramos15 lramos15 requested a review from hediet April 10, 2024 18:36
@lramos15 lramos15 added this to the April 2024 milestone Apr 10, 2024
@lramos15 lramos15 merged commit 82af5cd into main Apr 11, 2024
@lramos15 lramos15 deleted the lramos15/querulous-viper branch April 11, 2024 13:52
@hediet
Copy link
Member

hediet commented Apr 12, 2024

What do you think is strange about it?
The feature of the multi file diff editor that the resources are dynamic?

@lramos15
Copy link
Member Author

The tab model has always been powered by broader editor service / editor group service events to listen to changes happening and construct a view of what the tab world looks like. This is the first case where we must now basically track a certain tab type and when it opens or closes as to subscribe to events on it. That causes a lot of odd instanceof type checks and an additional complexity to the listeners

@microsoft microsoft locked and limited conversation to collaborators Jun 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multi diff text editor has no tab input

3 participants