-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Originally from @Laser42 in microsoft/vscode#98575
- VSCode Version: 1.45.1
- OS Version: Windows 10 Pro x64
JsDoc comments highlights incorrectly when editing html files.
Steps to Reproduce:
- Create a HTML file
- Add <script></script> section as follows:
<script>
/**
* A function
* @param {string} arg - string argument
* @returns {null} - desc
*/
function MyFunc(arg) {
return null;
}
/**
* A class
*/
class MyClass {
/**
* Ctor
* @param {string} field - desc
*/
constructor(field) {
this.field = field;
}
}
</script>
- Note that JsDoc syntax inside class has a highlight, while there is no syntax highlight for function's JsDoc:

Does this issue occur when all extensions are disabled?: Yes
huyhoang160593
Metadata
Metadata
Assignees
Labels
No labels