Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
随着 Jade 过渡到 Pug,目前没有 Pug 插件。问题是我们的 .jade 文件扩展名变成了 .pug,IDE 无法识别。
我们如何将 pug 与 Intellij IDEA(或其他 Intellij IDE)一起使用?
在 Intellij Jade 插件成为 Pug 插件之前,使用 Pug 的一种解决方法是将 .pug 文件识别为 Jade 文件。
这可以通过以下方式完成:
打开首选项 -> 编辑器 -> 代码样式 -> 文件类型
在已识别的文件类型下查找 Jade
将 *.pug 添加到注册模式列表