[
https://issues.apache.org/jira/browse/NETBEANS-4080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485402#comment-17485402
]
Sergey Podobry commented on NETBEANS-4080:
------------------------------------------
There is a workaround:
# Tools > Options > Miscellaneous > Files
# Click on "New" next to File extension.
# Type "pug"
# Associated type MIME (text/jade)
# Ok
# "*.pug" files will use jade formatting and styling now (after restart)
Source: https://github.com/pugjs/pug/issues/2781#issuecomment-295360714
> Support .pug file extension
> ---------------------------
>
> Key: NETBEANS-4080
> URL: https://issues.apache.org/jira/browse/NETBEANS-4080
> Project: NetBeans
> Issue Type: Bug
> Components: javascript - Jade
> Affects Versions: 11.3
> Reporter: Jan Drees
> Priority: Minor
>
> I tried to get into writing pug (formerly Jade) code, but noticed that
> Netbeans does not provide syntax highlighting for .pug files. It appears that
> the necessary code for highlighting is already in place, since highlighting
> works out of the box when I change the file extension to .jade.
> Considering that jade had to be renamed to pug back in mid-2016, I am a
> little surprised that the new file extension .pug was not added as an alias
> for .jade files (or vice versa) already. Am I missing something here?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists