intellij-lessc-plugin
intellij-lessc-plugin copied to clipboard
Nothing happens when saving (PHPStorm 5.0.4, Mac 10.8.2) and wrong error message
I have configured The PlugIn as shown in the screenshots. I do not have a setting "LESS Compiler" in Project Settings, only "LESS Profiles" but the content is the same.
When I'm saving a file, nothing happens, not even an error message shows up.
When I'm manually selecting "Compile to CSS" on the file or folder, I get the error message "The selected LESS file does not have any CSS output directories mapped to it and cannot be compiled. You can add CSS output directories under Settings > Project Settings > LESS Compiler."
But I already did that (see attached screenshots). But the setting is still called "LESS Profiles" instead of "LESS Compiler".
Can you please help me to figure out what is going wrong here?
Thanks Maik
I also have this problem(Idea12 ),but when I try many times ,the error dialog window isn't show. I want get css, but I can't find it.It show event log "LESS CSS Compiler: a.less was modified, but didn't change any CSS files (ignore)"
I have the exact same problem with PhpStorm 6.0 on Windows 7
@excalibur and @holloway87, a few questions for you:
- What OS version, national language, and architecture are you using? (e.g., Windows XP 32-bit English, Windows 7 64-bit German, Mac OS X 10.7.5 Finnish, Ubuntu 12.04 64-bit Spanish)
- Do you have IntelliJ/PhpStorm set up to use a locale other than English?
Could you also please send me a clean copy of your IDE log file? Follow these steps:
- Exit your IDE completely
- Locate the log file for your IDE
- Make a backup copy (e.g., rename
idea.log
toidea.log.bak
) - Clear the log file by either renaming it, deleting it, or opening it in a text editor, deleting all text, and saving it
- Launch your IDE and follow the steps you described to reproduce the problem
- Create a new Gist and copy/paste the contents of the log file into it
- Send me a link to the Gist you just created so I can (hopefully) see what's going on
Thank you!
P.S. Thanks for taking the time to submit such a detailed bug report and even attach screenshots! I wish more users did that :-)
Has this been resolved? I've got the same problem on fedora 16 64bit. idea.log doesn't show anything suspicious.
Having same problem. OpenSuse 12.3 64bit, IDEA 12.1.6.
Try updating to the latest version of the plugin (2.6.8) and see if that solves the issue. I had to rewrite a lot of the settings persistence logic in 051d997e800fdea85f639f731ad7eb462b4235fe; hopefully I can kill 4 birds with one stone.
Well this problem fixed itself after i upgraded to PhpStorm 7, sorry for not letting you know earlier. But i have a new problem now with PhpStorm 7.1 as i wrote in #67.
Updated the plugin to version 2.6.9, still same problem: "Missing CSS Output Directory" Tried different source and output directory combinations, even plain simple project with only one less file: no luck.
OpenSuse 12.3 64bit, IDEA 12.1.6.
@parviain: Do you have any other profiles configured for that project that are missing a CSS output directory? If possible, attach a screenshot of your "LESS Profiles" config in the IDE's Project Settings dialog and the contents of <project_dir>/.idea/lessc/lessc.xml
.
For me, this is working now in PHPStorm 7.0 on OS X 10.9.1, english, 64bit. The LESS CSS Compiler Plugin is version 2.6.9.
I've only one profile, although tested also with several profiles with and without many output directories.
Screenshot - LESS Profiles:
Screenshot of my test project:
I've only one profile, although I tested with several profiles with and without many output directories.
Screenshot of LESS Plugin settings:
Screenshot of my project:
i have this problem too
Have anyone fix this issue? I'm having this issue now that I upgraded to the latest version of PhpStorm 8.0.2 Build #PS-139.72. :( Is there a way to downgrade? It was just working fine lastweek.
I have this in the log:
2015-01-23 20:23:58,173 [ 102176] ERROR - penapi.actionSystem.impl.Utils - PhpStorm 8.0.2 Build #PS-139.732
2015-01-23 20:23:58,173 [ 102176] ERROR - penapi.actionSystem.impl.Utils - JDK: 1.6.0_65
2015-01-23 20:23:58,174 [ 102177] ERROR - penapi.actionSystem.impl.Utils - VM: Java HotSpot(TM) 64-Bit Server VM
2015-01-23 20:23:58,174 [ 102177] ERROR - penapi.actionSystem.impl.Utils - Vendor: Apple Inc.
2015-01-23 20:23:58,174 [ 102177] ERROR - penapi.actionSystem.impl.Utils - OS: Mac OS X
2015-01-23 20:23:58,174 [ 102177] ERROR - penapi.actionSystem.impl.Utils - Last Action:
2015-01-23 20:24:10,007 [ 114010] ERROR - penapi.actionSystem.impl.Utils - update failed for AnAction with ID=FinderInfo
java.lang.NoClassDefFoundError: com/intellij/openapi/actionSystem/DataKeys
I have the same problem on mac.... I thought Im was being stupid... but clearly not :-(
Same problem on Mac using PyCharm.
same issue here (phpstorm 2017.2, last version of plugin)