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

Add/update 'omnisharp.useGlobalMono' option #2244

Merged
merged 4 commits into from
May 2, 2018

Conversation

DustinCampbell
Copy link
Member

This change updates the name of the 'omnisharp.useMono' option to 'omnisharp.useGlobalMono', and makes it a tri-state value rather than a boolean. It now has three possible values:

  • "auto": Launch OmniSharp on the globally-installed Mono if it's available.
  • "always": Always try to launch OmniSharp on the globally-installed Mono and error if it's not available.
  • "never": Never launch OmniSharp on the globall-installed Mono.

@codecov
Copy link

codecov bot commented May 1, 2018

Codecov Report

Merging #2244 into master will increase coverage by 0.13%.
The diff coverage is 90%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2244      +/-   ##
==========================================
+ Coverage   59.75%   59.88%   +0.13%     
==========================================
  Files          77       77              
  Lines        3762     3772      +10     
  Branches      545      550       +5     
==========================================
+ Hits         2248     2259      +11     
- Misses       1341     1342       +1     
+ Partials      173      171       -2
Flag Coverage Δ
#integration 50.86% <66%> (-0.2%) ⬇️
#unit 83.21% <93.75%> (+0.59%) ⬆️
Impacted Files Coverage Δ
src/features/codeLensProvider.ts 54.16% <100%> (ø) ⬆️
src/main.ts 91.86% <100%> (ø) ⬆️
src/omnisharp/options.ts 100% <100%> (+11.42%) ⬆️
src/features/codeActionProvider.ts 67.18% <100%> (ø) ⬆️
src/omnisharp/extension.ts 80% <100%> (ø) ⬆️
src/omnisharp/launcher.ts 54.91% <42.85%> (-0.82%) ⬇️
src/omnisharp/server.ts 71.94% <85.71%> (ø) ⬆️
src/omnisharp/delayTracker.ts 68.42% <0%> (-5.27%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83b52ff...dce7747. Read the comment docs.

This change updates the name of the 'omnisharp.useMono' option to 'omnisharp.useGlobalMono', and makes it
a tri-state value rather than a boolean. It now has three possible values:

* "auto": Launch OmniSharp on the globally-installed Mono if it's available.
* "always": Always try to launch OmniSharp on the globally-installed Mono and error if it's not available.
* "never": Never launch OmniSharp on the globall-installed Mono.
@DustinCampbell DustinCampbell merged commit 48fb2ba into dotnet:master May 2, 2018
@akshita31
Copy link
Contributor

@DustinCampbell Since this is user-facing change should there be an update to the ChangeLog as well ?

@DustinCampbell
Copy link
Member Author

Yes there should. Thanks!

@akshita31
Copy link
Contributor

@DustinCampbell Should we also update the test-plan.md (https://github.com/OmniSharp/omnisharp-vscode/blob/master/test-plan.md#omnisharpusemono-for-linux) in accordance with these changes.

@DustinCampbell
Copy link
Member Author

@akshita31 : Yes, it needs updating.

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.

3 participants