Sublime Forum

"Go to definition" command problematic (Pug/SCSS)


Hi everybody, newbie to the forums here.

I’m sure this question has been asked and answered many times before, but nothing of the things I found online and tried works for me, so I thought it’s best to ask for some personal help.

The problem is this – I use Pug & SCSS in Webpack, and “go to definition” works for JS, but doesn’t work in .pug files for SCSS. Basically, all I want is to be able to jump to CSS classes & ID’s from Pug to SCSS files.

I tried a bunch of things, but nothing seems to be working. The closest I got to making it work is SublimeHyperClick, and it works, but only for @import and similar rules. I’ve been trying to extend it to classes and ID’s, but no success so far.

Calling for help.



Working! Solved with:


1 Like