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

New completion service #3986

Merged
merged 7 commits into from
Aug 20, 2020
Merged

New completion service #3986

merged 7 commits into from
Aug 20, 2020

Conversation

333fred
Copy link
Member

@333fred 333fred commented Aug 16, 2020

Use the new completion service being added in OmniSharp/omnisharp-roslyn#1877. This enables things like override completion, as well as overall faster completion due to less filtering and preprocessing being done on the server side.

Fixes #1044.
Fixes #3687.

… the roslyn backend for a better overall completion experience.
@codecov
Copy link

codecov bot commented Aug 16, 2020

Codecov Report

Merging #3986 into master will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3986      +/-   ##
==========================================
+ Coverage   85.96%   85.99%   +0.03%     
==========================================
  Files          60       60              
  Lines        1852     1856       +4     
  Branches      214      214              
==========================================
+ Hits         1592     1596       +4     
  Misses        200      200              
  Partials       60       60              
Flag Coverage Δ
#integration ?
#unit 85.99% <100.00%> (+0.03%) ⬆️

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

Impacted Files Coverage Δ
src/observers/OptionChangeObserver.ts 100.00% <ø> (ø)
src/omnisharp/options.ts 94.44% <100.00%> (+0.12%) ⬆️
src/omnisharp/protocol.ts 79.43% <100.00%> (+0.29%) ⬆️

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 57d87d4...8572723. Read the comment docs.

@333fred
Copy link
Member Author

333fred commented Aug 17, 2020

I added a new test for override completion that should hopefully fail until the roslyn dependency is updated. If it doesn't fail, I'll be concerned...

@bobaoapae
Copy link

Finally, Waiting for merge and new release

@333fred 333fred requested a review from JoeRobich August 20, 2020 03:15
@333fred
Copy link
Member Author

333fred commented Aug 20, 2020

@JoeRobich this now has an option for import completion as well.

package.json Outdated Show resolved Hide resolved
src/features/completionProvider.ts Show resolved Hide resolved
@filipw
Copy link
Contributor

filipw commented Aug 20, 2020

thanks for adding the VS Code option for enableImportCompletion too, that will make it more discoverable

Copy link
Member

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Fred!

@JoeRobich
Copy link
Member

Passing CI - https://travis-ci.org/github/OmniSharp/omnisharp-vscode/builds/719717539

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