Skip to content

Conversation

@mzhongl524
Copy link
Member

Fix: #5239.

syntax highlighting does not correctly recognize parameter name with hyphen

@mzhongl524 mzhongl524 added the ide Issues for VS, VSCode, Monaco, etc. label Sep 30, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the compiler:core Issues for @typespec/compiler label Sep 30, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 30, 2025

Open in StackBlitz

npm i https://pkg.pr.new/microsoft/typespec/@typespec/compiler@8619

commit: 8c1ee8e

@github-actions
Copy link
Contributor

github-actions bot commented Sep 30, 2025

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - feature ✏️

Add support for escaping param like tags(@param, @prop, etc.) identifier with backtick in doc comments to allow special characters

@azure-sdk
Copy link
Collaborator

azure-sdk commented Sep 30, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@mzhongl524 mzhongl524 marked this pull request as ready for review November 14, 2025 09:07
@mzhongl524 mzhongl524 requested a review from RodgeFu as a code owner November 19, 2025 03:32
@mzhongl524 mzhongl524 added this pull request to the merge queue Nov 24, 2025
Merged via the queue into microsoft:main with commit 92dcf75 Nov 24, 2025
27 checks passed
@mzhongl524 mzhongl524 deleted the syntax-highlighting-not-correctly-recognize-hyphen-param branch November 24, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:core Issues for @typespec/compiler ide Issues for VS, VSCode, Monaco, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support @param, @template, @prop targetting identifiers that need escaping

4 participants