D
D
Denis Karakchiev2017-03-22 22:38:26
atom
Denis Karakchiev, 2017-03-22 22:38:26

How to set pug to be rendered as jade in Atom?

Actually, I am trying to write these lines using this package

"file-types":
    pug: "source.jade"

And it works for some people. But not for me, apparently. What could be the problem? Is there a more obvious way to solve pug's immunity problem with Emmet other than waiting?
ed6ee202a2e54626941063c96be7a973.png
upd: the solution from the official site does not work either, apparently I'm doing something wrong, but I can't see what.
customFileTypes:
      "source.pug": [
        "Jade"
      ]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Ivanov, 2019-03-06
@busforward

https://github.com/emmetio/emmet-atom/issues/354 is described in detail here.
I also struggled for a couple of hours. Until I removed everything related to pug and jade. Left only those packages - which are described in the comments.
Well, I used this option in the
"file-types" settings:
"*.pug": "source.jade" It worked
after restarting the atom

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question