This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255054

Summary: Please add feature to compile sass/less file within editor
Product: web Reporter: Christian Lenz <chrizzly>
Component: CSS Preprocessors (SASS, LESS, ...)Assignee: Tomas Mysik <tmysik>
Status: NEW ---    
Severity: normal CC: tmysik
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Christian Lenz 2015-09-07 11:00:36 UTC
I know the feature to "Compile on save" this is very nice, but sometimes, I have an external process running for sass/less so I don't want to compile it on save. Than I switch back to the IDE and I want compile a specific sass/less file but I can't. What I expect is an action on a sass/less file inside the windows (Project, Files, Favorites), on an folder for sass/less files if it's possible to figure out that only sass/less files are inside the folder, inside the editor of an opened file. The action should looks like: Right click -> choose compile sass/less -> compile sass file or whatever. Should work for multiple, selected files too.


Regards

Chris
Comment 1 Tomas Mysik 2015-09-07 11:39:17 UTC
Taking over. This should be possible quite easily but only for the individual files; the action for folder would be problematic from performance point of view.

BTW in NB 8.1, there is a new Recompile All Files button in the Project Properties dialog so it could be a bit helpful for your case, I hope.

Thanks for reporting.
Comment 2 Christian Lenz 2015-09-07 13:40:45 UTC
THe button is ok but 2 things. First it is to far away from the usually action but I think it wasn't developed for my case, it's more a workaround for me. And second, the button is only available if I check "Compile on save" and this is strange, because when I check this option, I don't really need the button because I have it for each file. So what I expect is to have the button always enabled and the path fields too.