Vscode: Now, Jade has been renamed to Pug

Created on 16 Apr 2016  路  6Comments  路  Source: microsoft/vscode

  • VSCode Version: 1.0.0
  • OS Version: Windows 10

Steps to Reproduce:

  • Open any pug file without syntax highlighting

Unfortunately, Jade has been renamed to Pug (ref: https://github.com/pugjs/pug/issues/2184).
We should change jade to pug on all documents, extensions and supports...

Do you have any plans?

Most helpful comment

P.S. I left a solution regarding syntax highlighting on this issue for all vscode and pug user.

Add your User settings (Command Palette -> Preferences: Open User Settings -> edit settings.json) such as:

"files.associations": {
  "*.pug": "jade"
}

All 6 comments

P.S. I left a solution regarding syntax highlighting on this issue for all vscode and pug user.

Add your User settings (Command Palette -> Preferences: Open User Settings -> edit settings.json) such as:

"files.associations": {
  "*.pug": "jade"
}

@gregvanl can you update the doc accordingly.
@aeschli I suggest we support both the .pug and .jade file associations.

Definitely keep supporting the now-legacy .jade associations, there is a lot of code floating around still including the old jade, in fact depending on generator versions people use (thinking about express-generator here, possibly others as well), there might actually be new projects coming up using the old jade for quite some time.

  • added the '.pug' file association
  • once the new name is established and e.g. the pug-lang.com website is up and ready, we can also rename the extension, the label and the language id.

Also renamed extension and label. Kept languageID for backward compatibility. See #18219

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shanalikhan picture shanalikhan  路  3Comments

trstringer picture trstringer  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

chrisdias picture chrisdias  路  3Comments

NikosEfthias picture NikosEfthias  路  3Comments