question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prevent Omnisharp Log opening on startup

See original GitHub issue

Environment data

dotnet --info output: VS Code version:1.27.2 C# Extension version:1.16.1

Is it possible to prevent Omnisharps log opening up modally when I open visual code? When opening a nodejs project the last thing I want having just told my node server to start is Omnisharp popping up with it’s log.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:4
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
NinoFloriscommented, Sep 30, 2018

This seems to happen because of https://github.com/OmniSharp/omnisharp-vscode/pull/2133 It seems the extensions gets a “omnisharp returns an error” event. “seems” because nothing weird is in the logs and autocomplete works.

This then gets picked up by https://github.com/OmniSharp/omnisharp-vscode/blob/master/src/observers/OmnisharpChannelObserver.ts#L16 and it subsequently opens the output panel.

@akshita31 any ideas?

FYI: red flame message is "OmniSharp process errored: "

0reactions
rchandecommented, Nov 26, 2018

@MrChriZ My general opinion is that, instead of trying to build specific exclusions into the C# extension, we should make it easy for users to exclude parts of their repositories. If you’re having trouble getting the omnisharp configuration to exclude your directory, I’d like to understand why so that we can make this (general) mechanism work for you, and for everyone else. Thanks for your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Omnisharp can't start dotnet - Stack Overflow
I am using VS Code and Unity. Under the output tab (omnisharp log) I get this error. Starting OmniSharp server at 5/27/2022, ...
Read more >
C# - Visual Studio Marketplace
C# for Visual Studio Code (powered by OmniSharp). ... Launch VS Code Quick Open ( Ctrl+P ), paste the following command, and press...
Read more >
How to disable omnisharp analyzers? : r/vscode - Reddit
Starting today, when I launch VSCode on my Unity's C# project, ... Omnisharp: Enable Roslyn Analyzers, Omnisharp: Logging level).
Read more >
Visual Studio Code - ArchWiki
Code - OSS — Official Arch Linux open-source release. ... If for any reason you wish to launch multiple instances of Visual Studio...
Read more >
omnisharp-vscode - Discover .NET
If you still need Unity or .NET Framework support, you can set omnisharp.useModernNet to false in your VS Code settings and restart OmniSharp....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found