Sublime Forum

Build 3143 mixed lang definitions

#1

Hi definitions aren’t language scoped.
I.E. The tooltip for a php method shows definitions in javascript files under node_modules folder.
It’s a default behavior?
Thanks in advance.

0 Likes

#2

Yes, currently they are not scoped to a syntax. Many high-level languages bind to C, and HTML/CSS cross boundaries also.

We may allow configuring what boundaries are crossable in the future, but for now we don’t filter symbols by the current syntax.

0 Likes

#3

Nice, thanks for your time. You answered very fast!

0 Likes