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

Stop forcing focus on "Output" tab when OmniSharp is logging #2756

Closed
yhvicey opened this issue Dec 20, 2018 · 15 comments
Closed

Stop forcing focus on "Output" tab when OmniSharp is logging #2756

yhvicey opened this issue Dec 20, 2018 · 15 comments
Assignees
Milestone

Comments

@yhvicey
Copy link

yhvicey commented Dec 20, 2018

VS Code version: 1.30.1
C# Extension version: 1.17.1

Every time when I open a folder with lots of *proj file (like aspnet/Extensions), it keeps focusing on "Output" and the drop down list shows "OmniSharp Log". It is really annoying because it will interrupt other action, like opening a menu or opening a terminal. Please at least add a switch to disable it.

@akshita31 akshita31 self-assigned this Dec 21, 2018
@akshita31
Copy link
Contributor

@yhvicey Thanks for filing the issue. I agree that we should not focus the logs by default.

@stewartadam
Copy link

I presume this is also the cause of microsoft/vscode#22187, which I ran into again today. Midway through typing a Markdown document, OmniSharp started updating dependencies and grabbed focus away which is irritating.

@BrennanConroy
Copy link
Member

This is a super annoying issue. Is there a known previous version that people can use instead until this is fixed?

@rchande
Copy link

rchande commented Jan 29, 2019

@BrennanConroy Actually, we just created a beta that includes the fix for this. Please give it a try and let us know if you're still having issues: https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.18.0-beta5

@BrennanConroy
Copy link
Member

Excellent! Worked for me, thanks for the good work.

@akshita31 akshita31 added this to the 1.18 milestone Jan 29, 2019
@justinmchase
Copy link

It still does this... it keeps stealing focus from the terminal while I'm typing.

@hoyosjs
Copy link
Member

hoyosjs commented Apr 5, 2021

@akshita31 Sorry to ping on a closed issue, but it feels like this regressed. I have to kill omnisharp to be able to use the terminal in large projects where it takes a long time to create the full dependency graph and cache setup.

@stewartadam
Copy link

@hoyosjs probably better to report a new issue if it's happening again

@JoeRobich
Copy link
Member

Please set the "csharp.showOmnisharpLogOnError" setting to false if you do not want this behavior.

https://github.com/OmniSharp/omnisharp-vscode/blob/5270351278c86cb2514487ff6f6c0adf27c15a7a/package.json#L693-L697

@justinmchase
Copy link

I want omnisharp errors to be logged, but I don't want the frickin' errors to change my focus.

@filipw
Copy link
Contributor

filipw commented Apr 6, 2021

that's what the setting does 🙂

@justinmchase
Copy link

Oh 🥰

It sounds like its saying the errors won't get logged at all but I see what you're sayin'

@TheOnlyWei
Copy link

Still getting this issue in v1.24.0 in the year 2022.

@justinmchase
Copy link

Me too, can we invert the default to false? Who ever wants this to be true?

@TheOnlyWei
Copy link

Found a new issue about this here: #4608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants