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 setting to control Razor component commit behaviour #6506

Merged
merged 4 commits into from
Oct 11, 2023

Conversation

davidwengier
Copy link
Contributor

Server side is dotnet/razor#9379

Will bump Razor in this PR before merging

@davidwengier davidwengier requested a review from a team as a code owner October 8, 2023 22:57
davidwengier added a commit to dotnet/razor that referenced this pull request Oct 9, 2023
Resolves the "we did not find firm opinions" part of
#8295 by introducing an option to
allow users to control how they want completion for html elements, tag
helper elements and components to behave.

Corresponding VS Code PR:
dotnet/vscode-csharp#6506
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/f0e050f69a2afb6758a1bccfbf00bb9a/razorlanguageserver-linux-arm64-7.0.0-preview.23475.5.zip,https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/e3d3993005c037451c715c26ec43328b/razorlanguageserver-linux-musl-arm64-7.0.0-preview.23475.5.zip,https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/c3fd7144ecc6abea28e905504a60d65b/razorlanguageserver-linux-musl-x64-7.0.0-preview.23475.5.zip,https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/98abba355a15ad90c59eb5653326baeb/razorlanguageserver-linux-x64-7.0.0-preview.23475.5.zip,https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/68cd5916dbff0936c04ae0a152268d0f/razorlanguageserver-osx-arm64-7.0.0-preview.23475.5.zip,https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/f13124670d3c1f52ecbeb79538d763cb/razorlanguageserver-osx-x64-7.0.0-preview.23475.5.zip,https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/d50e57f6a69f75a65496f32b107532e8/razorlanguageserver-win-arm64-7.0.0-preview.23475.5.zip,https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/70a917c8a17f4052a3a6b3862200f9f5/razorlanguageserver-win-x64-7.0.0-preview.23475.5.zip,https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/ee48f10fa72517ce132fad30d458680a/razorlanguageserver-win-x86-7.0.0-preview.23475.5.zip",
"NEW_DEPS_VERSION": "7.0.0-preview.23475.5",
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/2ec8c3c2-4f6f-42c0-8c90-97fd97427d7c/59e252ec1565aa1e72aab4df73f35510/razorlanguageserver-linux-arm64-7.0.0-preview.23509.2.zip,https://download.visualstudio.microsoft.com/download/pr/2ec8c3c2-4f6f-42c0-8c90-97fd97427d7c/565066c5ca0844edb90b66187e99bd03/razorlanguageserver-linux-musl-arm64-7.0.0-preview.23509.2.zip,https://download.visualstudio.microsoft.com/download/pr/2ec8c3c2-4f6f-42c0-8c90-97fd97427d7c/c2c5dbc26f3ad91ac851ce175abb57e1/razorlanguageserver-linux-musl-x64-7.0.0-preview.23509.2.zip,https://download.visualstudio.microsoft.com/download/pr/2ec8c3c2-4f6f-42c0-8c90-97fd97427d7c/7c1e301d9000f06debecc8208d7aa2ea/razorlanguageserver-linux-x64-7.0.0-preview.23509.2.zip,https://download.visualstudio.microsoft.com/download/pr/2ec8c3c2-4f6f-42c0-8c90-97fd97427d7c/7b231eee6608879bc934a8256324e9f5/razorlanguageserver-osx-arm64-7.0.0-preview.23509.2.zip,https://download.visualstudio.microsoft.com/download/pr/2ec8c3c2-4f6f-42c0-8c90-97fd97427d7c/101e1db25b9411892eb6474c516a38b4/razorlanguageserver-osx-x64-7.0.0-preview.23509.2.zip,https://download.visualstudio.microsoft.com/download/pr/2ec8c3c2-4f6f-42c0-8c90-97fd97427d7c/59830fe8f7d57758675cc36f48b65a29/razorlanguageserver-win-arm64-7.0.0-preview.23509.2.zip,https://download.visualstudio.microsoft.com/download/pr/2ec8c3c2-4f6f-42c0-8c90-97fd97427d7c/22969b5b81fda9d5f5403b6cef265058/razorlanguageserver-win-x64-7.0.0-preview.23509.2.zip,https://download.visualstudio.microsoft.com/download/pr/2ec8c3c2-4f6f-42c0-8c90-97fd97427d7c/5fe01999736b69133fa1ea97fb35aed2/razorlanguageserver-win-x86-7.0.0-preview.23509.2.zip",
"NEW_DEPS_VERSION": "7.0.0-preview.23509.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@allisonchou is it cool to just update the server? or do I need to update the telemetry too? Before this change, they were on the same version.

Copy link
Contributor

Choose a reason for hiding this comment

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

I haven't tried updating just the server before so I'm not 100% sure, but I think updating solely the server should be fine as long as there are no telemetry-specific changes. I would verify there are no problems when opening a Razor file just to be sure though

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Opening razor files works fine, and i don't see the word "telemetry" in any worrying places in the Razor log, so I'm going to assume this all works 😁

@davidwengier davidwengier requested a review from a team October 10, 2023 04:03
@davidwengier davidwengier merged commit 7784d32 into dotnet:main Oct 11, 2023
8 checks passed
@davidwengier davidwengier deleted the RazorCommitCharacterSetting branch October 11, 2023 00:45
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.

2 participants