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

@example code highlight includes caption annotation #64457

Closed
RMacfarlane opened this issue Dec 5, 2018 · 0 comments
Closed

@example code highlight includes caption annotation #64457

RMacfarlane opened this issue Dec 5, 2018 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug javascript JavaScript support issues typescript Typescript support issues verified Verification succeeded
Milestone

Comments

@RMacfarlane
Copy link
Contributor

Issue Type: Bug

Found while verifying #64382

From the @example docs, I tried added a caption after the example tag. The caption was also js syntax highlighted, which can look a bit strange when using reserved keywords:

screen shot 2018-12-05 at 2 18 35 pm

/**
 * @example <caption>Example of using method with whatever.</caption>
 * foo = 1
 */

VS Code version: Code - Insiders 1.30.0-insider (85f805a, 2018-12-05T12:13:44.894Z)
OS version: Darwin x64 18.0.0

@RMacfarlane RMacfarlane added typescript Typescript support issues javascript JavaScript support issues labels Dec 5, 2018
@vscodebot vscodebot bot added the insiders label Dec 5, 2018
@mjbvz mjbvz added this to the November 2018 milestone Dec 5, 2018
@mjbvz mjbvz added the bug Issue identified by VS Code Team member as probable bug label Dec 5, 2018
@mjbvz mjbvz closed this as completed in 36c4dc3 Dec 5, 2018
@RMacfarlane RMacfarlane added the verified Verification succeeded label Dec 6, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug javascript JavaScript support issues typescript Typescript support issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants