Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This command only works for .less files. #17

Closed
sagive opened this issue May 3, 2017 · 7 comments
Closed

This command only works for .less files. #17

sagive opened this issue May 3, 2017 · 7 comments
Labels

Comments

@sagive
Copy link

sagive commented May 3, 2017

Hey,
after the last update i have been getting this in last files
"This command only works for .less files."

This happens when using a less file ofcourse (when would this message apear otherwise?)
i dont know if this is a bug

This is my settings (worked before update):

     "less.compile": {
         "compress":  true,  // true => remove surplus whitespace
         "sourceMap": true,  // true => generate source maps (.css.map files)
         "out":       true // false => DON'T output .css files (overridable per-file, see below)
    },

Even when trying to directly compile the file (f1 compile LESS to CSS)
i am getting "This command only works for .less files."

File name is "main.less"

@mrcrowl
Copy link
Owner

mrcrowl commented May 3, 2017 via email

@sagive
Copy link
Author

sagive commented May 3, 2017

i am only saving one file (only one file open)... Currently can't use this plugin (which i love! ;) )
Anything i can do?

I am using VScode, is there a workaround?
Can i install a previos version? Is there a way to manually install an older version?

@mrcrowl
Copy link
Owner

mrcrowl commented May 3, 2017

Here's the previous version as a .vsix file.

You can install via Extensions > Triple dot menu > Install from vsix

@mrcrowl
Copy link
Owner

mrcrowl commented May 3, 2017

I've tried, but I can't repro this issue you're describing. Are there any other extensions you've installed recently that might have affected this?

@sagive
Copy link
Author

sagive commented May 3, 2017

Thank you very much for the quick response and the awesome extension. ;)

I already left the office. But... i just upgraded at home, had the same problem, restarted VScode - (not "reload" < clicking that button didnt help) and now it WORKS ;))

@mrcrowl
Copy link
Owner

mrcrowl commented May 4, 2017

@sagive are you happy for this issue to be closed?

@sagive
Copy link
Author

sagive commented May 4, 2017

sure thing, thanks a lot - hopfully if someone encounter similar problem it will apear in the google search results ;)

@mrcrowl mrcrowl closed this as completed May 4, 2017
@mrcrowl mrcrowl reopened this May 6, 2017
@mrcrowl mrcrowl closed this as completed in abf8e84 May 6, 2017
@mrcrowl mrcrowl added the bug label Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants