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

react to new registration type for semantic tokens #401

Merged
merged 7 commits into from
Oct 30, 2020

Conversation

david-driscoll
Copy link
Member

Fixes #397

Reference commit for latest vscode client: microsoft/vscode-languageserver-node@bb85e80
LSP reference: microsoft/language-server-protocol#1107

@github-actions github-actions bot added this to the v0.18.2 milestone Oct 28, 2020
@codecov
Copy link

codecov bot commented Oct 28, 2020

Codecov Report

Merging #401 into master will decrease coverage by 2.20%.
The diff coverage is 56.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #401      +/-   ##
==========================================
- Coverage   74.72%   72.52%   -2.21%     
==========================================
  Files         566      569       +3     
  Lines       13640    13778     +138     
  Branches     1275     1291      +16     
==========================================
- Hits        10192     9992     -200     
- Misses       3448     3786     +338     
Impacted Files Coverage Δ
src/Protocol/Models/CodeDescription.cs 0.00% <0.00%> (ø)
...otocol/Models/DocumentSymbolRegistrationOptions.cs 75.00% <0.00%> (ø)
src/Protocol/Models/Diagnostic.cs 21.42% <5.71%> (-78.58%) ⬇️
...otocol/Document/Proposals/ICallHierarchyHandler.cs 41.81% <41.81%> (ø)
src/JsonRpc/RegistrationNameAttribute.cs 87.50% <87.50%> (ø)
src/Protocol/Models/Registration.cs 100.00% <100.00%> (ø)
src/Protocol/Shared/LspHandlerDescriptor.cs 94.36% <100.00%> (+0.61%) ⬆️
src/Server/LanguageServerHelpers.cs 89.76% <100.00%> (-1.51%) ⬇️
src/Shared/SharedHandlerCollection.cs 79.45% <100.00%> (+0.18%) ⬆️
src/Protocol/Document/ICodeActionHandler.cs 49.12% <0.00%> (-41.41%) ⬇️
... and 17 more

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 69ff46b...12474ed. Read the comment docs.

@@ -36,7 +36,7 @@ public interface ISemanticTokensDeltaHandler :
[Method(TextDocumentNames.SemanticTokensRange, Direction.ClientToServer)]
[GenerateHandlerMethods]
public interface ISemanticTokensRangeHandler : IJsonRpcRequestHandler<SemanticTokensRangeParams, SemanticTokens?>,
IRegistration<SemanticTokensRegistrationOptions>, ICapability<SemanticTokensCapability>, IDoesNotParticipateInRegistration
Copy link
Member Author

Choose a reason for hiding this comment

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

These are just marker interfaces, so this shouldn't be a breaking change.

@david-driscoll
Copy link
Member Author

cc @anthony-c-martin

@david-driscoll
Copy link
Member Author

cc @NTaylorMullen @ajaybhargavb

@david-driscoll
Copy link
Member Author

david-driscoll commented Oct 30, 2020

Merging in for now, no real breaking changes unless you're using the new client, which the current version won't work with.

@david-driscoll david-driscoll merged commit 3cae4fc into master Oct 30, 2020
@github-actions github-actions bot added the mysterious We forgot to label this label Oct 30, 2020
@mergify mergify bot deleted the fix/semantic-tokens branch October 30, 2020 02:55
@david-driscoll david-driscoll added enhancement New feature or request and removed mysterious We forgot to label this labels Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant