You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
albeit the variable is declared locally, the syntax highlighter marks the line font-size: @size with the error The variable '@size' is undefined in this context. commenting out the import statement makes the error go away.
The text was updated successfully, but these errors were encountered:
Thanks for the bug report. The problem came from the fact that .css files are not loaded by the plugin as LESS stylesheet. The code was throwing an IllegalStateException when attempting to access the contents of the CSS file.
If fixed the code to catch the exception. Please note however that the contents of the css file will *not be analyzed by the plugin, though it is imported as a LESS stylesheet.
since less 1.4.0 (https://github.com/less/less.js/blob/master/CHANGELOG.md#140-beta-1--2) it is now possible to specify how a file included with
@import
should be handled:the following code unfortunately breaks:
albeit the variable is declared locally, the syntax highlighter marks the line
font-size: @size
with the errorThe variable '@size' is undefined in this context
. commenting out the import statement makes the error go away.The text was updated successfully, but these errors were encountered: