pug - IntelliJ does not resolve relative path for jade extend -
i have simple setup:
app/layout/layout.jade app/user/user.jade
user.jade
should extend layout.jade
i set basepath jade %projextdir%/
(which contains app folder above)
intelij can resolve paths:
// relative: extends layout/layout extends ../app/layout/layout // absolute: extends /app/layout/layout
which leads paths in jade:
// relative: %projectdir%\app\user\layout\layout.jade // wrong %projectdir%\app\app\layout\layout.jade // wrong // absolute: %projectdir%\app\layout\layout.jade // ok
so absolute paths resolved correctly.
the correct relative paths jade be: extends ../layout/layout
but intellij can not resolve it. have no ide support (e.g. strg+click).
is there known bug? or solution fix behaviour in intellij?
Comments
Post a Comment