-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
[html] support script type="text/html" #77977
[html] support script type="text/html" #77977
Comments
Would this feature request handle the following case?
This custom type is used by an roll20.net, an online Table Top RPG, when users are developing their own custom character sheets. Everything inside the script tag is still javascript. Would it be possible to have VS Code users define a custom type to be treated as javascript? From what I've read, it's possible to have Sublime treat text/worker as javasript. |
@MadCoder253 That should be a separate request. |
There is also no code folding. Removing type="text/html" enables code folding but html emmets are lost. |
For anyone interested in working on this: I good starting point for this is
|
Hi @aeschli , I'm working on this issue and found that the problem might be fixed by microsoft/vscode-html-languageservice#102. I'm not sure if pr #117360 is necessary since html code in |
You are right, that can be fixed in the HTML language service, I forgot about that. Thanks for the PR! |
@aeschli Could you please review my PR microsoft/vscode-html-languageservice#102? Thanks a lot! |
Steps to Reproduce:
<script type="text/html">
3. No auto-complete for html tag names
Does this issue occur when all extensions are disabled?: Yes
HTML inside a
<script type="text/html">
tag is recognised as html with syntax color highlights ok, but there is no intellisense autocomplete for html tags like in normal html only files.The text was updated successfully, but these errors were encountered: