-
Notifications
You must be signed in to change notification settings - Fork 677
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
Do not steal the focus when showing the channels #2828
Conversation
cfba535
to
885c103
Compare
observer = new OmnisharpChannelObserver({ | ||
...getNullChannel(), | ||
show: () => { hasShown = true; }, | ||
show: (preserve) => { |
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 we ever call this with false?
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 there a case where we want to steal the focus
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.
As of now I couldnt think of any particular case hence right now we are using true everywhere
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 not make it even easier and remove the paramter/always pass true in this method?
Codecov Report
@@ Coverage Diff @@
## master #2828 +/- ##
==========================================
- Coverage 65.12% 65.06% -0.06%
==========================================
Files 104 104
Lines 4505 4503 -2
Branches 657 657
==========================================
- Hits 2934 2930 -4
- Misses 1386 1387 +1
- Partials 185 186 +1
Continue to review full report at Codecov.
|
885c103
to
dd1b636
Compare
this is great - thanks! |
Fixes: #2756