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

Do not start OmniSharp server in Live Share scenarios #4038

Merged
merged 6 commits into from
Dec 7, 2020

Conversation

JoeRobich
Copy link
Member

Fixes #3910

Handle Visual Studio Live Share scenarios the same way as the TypeScript extension (https://github.com/microsoft/vscode/blob/master/extensions/typescript-language-features/src/utils/fileSchemes.ts#L20-L28), by disabling our local language server. Language services (limited by what live share supports) are provided by the "server" through live share.

@JoeRobich
Copy link
Member Author

CC: @nohwnd @vzarytovskii

@codecov
Copy link

codecov bot commented Sep 4, 2020

Codecov Report

Merging #4038 (e8dfc7a) into master (2489158) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4038   +/-   ##
=======================================
  Coverage   85.99%   86.00%           
=======================================
  Files          60       60           
  Lines        1857     1858    +1     
  Branches      215      215           
=======================================
+ Hits         1597     1598    +1     
  Misses        200      200           
  Partials       60       60           
Flag Coverage Δ
integration 100.00% <ø> (ø)
unit 86.00% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/omnisharp/protocol.ts 79.43% <0.00%> (ø)
src/omnisharp/OmniSharpMonoResolver.ts 100.00% <0.00%> (ø)

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 2489158...9e909ad. Read the comment docs.

@JoeRobich
Copy link
Member Author

@filipw
Copy link
Contributor

filipw commented Oct 15, 2020

@JoeRobich can we get this in? it looks to be complete to me

@JoeRobich JoeRobich merged commit a1a1532 into dotnet:master Dec 7, 2020
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.

Omnisharp dies when connecting to LiveShare session
2 participants