I suggest you ...

.less intellisense should support importing .less files from node_modules (~ or npm:// prefix)

In my .less files, I'm importing other .less files from a node module by using a ~ prefix (import "~mymodule/file.less"). Intellisense doesn't seem to understand the import, it underlines variables and mixins from that import as "undeclared mixin" / "undeclared variable".

.less IntelliSense should support importing .less files from node_modules by using either the ~moduleName or npm://moduleName prefixes.

These prefixes are supported by the following projects:
https://github.com/less/less-plugin-npm-import
https://github.com/webpack/less-loader

9 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
oocx shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base