繁体   English   中英

VS Code 更改语法高亮显示<script> tag

[英]VS Code change syntax highlighting inside the <script> tag

我可以将标签内的语法识别从 javascript 更改为 python 吗?

    <script type="text/python">

        def foo():
            return 'Hello!'

    </script>

我使用 Brython 作为前端,这对我来说非常方便。

看起来这是一个已知问题: https : //github.com/microsoft/vscode/issues/25920

错误报告来自 3 年前,但仍未修复。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM