小编Bar*_*kay的帖子

VS Code的Jade语法突出显示很糟糕

为什么我的Jade语法突出显示在VS Code中看起来很糟糕? (例如,当我之前添加行时,评论元,总是最后一条评论)
我弄乱了语法还是只是VS Code的错?

这不是第一次,它开始真的让我恼火,但我宁愿解决它,因为我真的很喜欢VS Code

这是我的代码:

    doctype html
    html
        head
            title= title
            meta(name='viewport', content='width=device-width, initial-    scale=1')

            // - meta(name='viewport', content='width=device-width,     initial-scale=1, maximum-scale=1, user-scalable=no')

            // - Files that need to be included at top
            include ./partials/_include_at_top.jade
            block extra-styles
        body
            include ./partials/_main-nav.jade
            .page
                block content

            // - Files that need to be included at bottom
            include ./partials/_include_at_bottom.jade


图片

syntax-highlighting visual-studio-code pug

1
推荐指数
1
解决办法
2157
查看次数