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

Fixing completion commit chars #10533

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

alexgav
Copy link
Contributor

@alexgav alexgav commented Jun 25, 2024

Summary of the changes

We don't need to (and shouldn't) specify AllCommitCharacters in capabilities for our completion endpoint. Doing so causes them to always be added to all completion items.

Since we are using our completion endoint for VSCode now, it was causing undesirable behavior there. VSCode HTML doesn't use ">" as the commit character, and having it specified in server capabilities was causing us to always use ":", ">", " ", and "=" as the commit characters for all items.

Fixes:

microsoft/vscode#217772

We don't need to (and shouldn't) specify AllCommitCharacters in capabilities for our completion endpoint. Doing so causes them to always be added to all completion items.

Since we are using our completion endoint for VSCode now, it was causing undesirable behavior there. VSCode HTML doesn't use ">"  as the commit character, and having it specified in server capabilities was causing us to always use ":", ">", " ", and "=" as the commit characters for all items.

See microsoft/vscode#217772
@alexgav alexgav requested a review from a team as a code owner June 25, 2024 08:37
@alexgav alexgav merged commit 277aae8 into main Jun 25, 2024
12 checks passed
@alexgav alexgav deleted the dev/alexgav/FixCompletionCommitChars branch June 25, 2024 15:06
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jun 25, 2024
@RikkiGibson RikkiGibson modified the milestones: Next, 17.12 Preview 1 Jul 29, 2024
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