You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
The goto keyword is actually reserved in Java but it's not used and has no functionality. Highlight.js does not highlight the reserved keyword goto.
Image below shows the demo page of the highlight.js website.
You can see that goto is not highlighted.
Whereas the image below shows how goto is highlighted in the Visual Studio Code editor.
Which language seems to have the issue?
Java
Are you using highlight or highlightAuto?
highlight
Sample Code to Reproduce
As goto is actually a useless keyword, you can just type in goto after selecting the language as Java.
Expected behavior
As you can see the screenshot of Visual Studio Code editor above, the goto function must be highlighted. Additional context
The text was updated successfully, but these errors were encountered:
Describe the issue
The
goto
keyword is actually reserved in Java but it's not used and has no functionality. Highlight.js does not highlight the reserved keyword goto.Image below shows the demo page of the highlight.js website.
You can see that
goto
is not highlighted.Whereas the image below shows how
goto
is highlighted in the Visual Studio Code editor.Which language seems to have the issue?
Java
Are you using
highlight
orhighlightAuto
?highlight
Sample Code to Reproduce
As
goto
is actually a useless keyword, you can just type ingoto
after selecting the language as Java.Expected behavior
As you can see the screenshot of Visual Studio Code editor above, the
goto
function must be highlighted.Additional context
The text was updated successfully, but these errors were encountered: