mrmlnc / vscode-less

:electric_plug: Less intellisense for Variables and Mixins in all Less files.
https://goo.gl/9myVWD
MIT License
31 stars 17 forks source link

Help needed: simplify to grab vars from included paths, or make it more forgiving #49

Closed ayyash closed 5 years ago

ayyash commented 5 years ago

I wish I knew how to code that, I would have! This extension can really be useful if it just does one of two things:

ayyash commented 5 years ago

God knows I spent over a day before I wrote this ticket, then I found out you can do this:

    "less.scanImportedFiles": false,

Now I was getting another error from this file C:\Users\{user}\.vscode-insiders\extensions\mrmlnc.vscode-less-0.6.3\node_modules\less-symbols-parser\out Line 15, there is no property 1 of null, so I edited it to have if (!stat) continue; on line 15. And there, the plugins works again :)