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 syntax highlighting support for jsdoc custom tags #80646

Closed
daprahamian opened this issue Sep 10, 2019 · 2 comments
Closed

Add syntax highlighting support for jsdoc custom tags #80646

daprahamian opened this issue Sep 10, 2019 · 2 comments
Assignees
Labels
grammar Syntax highlighting grammar javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@daprahamian
Copy link

If I add a custom jsdoc tag to my project, it would be nice if it would have proper syntax highlighting in my doc comments.

Example:

// my-jsdoc-tag.js
exports.defineTags = function(dictionary) {
  dictionary.defineTag('my-tag', { ... });
};
//my-code.js
/**
 * @param {number} param some input
 * @returns {number} the input + 1
 * @my-tag <-- I want this to be highlighted like @param and @returns are
function foo(param) {
  return param + 1;
}
@vscodebot
Copy link

vscodebot bot commented Sep 10, 2019

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@mjbvz mjbvz self-assigned this Sep 10, 2019
@mjbvz
Copy link
Contributor

mjbvz commented Sep 10, 2019

Opened microsoft/TypeScript-TmLanguage#772 to track upstream

@mjbvz mjbvz closed this as completed Sep 10, 2019
@mjbvz mjbvz added grammar Syntax highlighting grammar javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Sep 10, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Syntax highlighting grammar javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants