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.
In this issue, I would like to summarize changes that I plan to do based on our e-mail communication. Please, correct me if there is something wrong or missing. - by default, compilation will be off - we will provide default mappings ("/sass" and "/less" for Input, "/css" for Output) - if user saves any Sass/LESS file and project is not configured yet, we will ask him -> if Yes, Project Propeties panel will be opened. [1] BTW it seems to me that we no longer need checking Sass/LESS file count, I will remove it. We will simply follow checked/unchecked compilation checkbox for the given project. Thanks. [1] One note - if the "Compile" option will be checked (as suggested in Liza's e-mail), what does it mean exactly? If user clicks Cancel, is the compilation enabled or disabled?
One more thing: - missing or incorrect mapping is an error, not a warning as it is now.
(In reply to comment #0) > [1] One note - if the "Compile" option will be checked (as suggested in Liza's > e-mail), what does it mean exactly? If user clicks Cancel, is the compilation > enabled or disabled? It must stay enabled, otherwise it is not doable (from code, we can only open Project Properties, we cannot prefill any dialog data easily; so we first update the project configuration itself and then open Project Properties dialog). Davide, correct me if I am wrong (but please notice that I would like to avoid using ugly hacks :) Thanks.
All the items should be done now, I hope. Please verify it and let me know if you find any problem. Thanks. http://hg.netbeans.org/web-main/rev/596cd38fe1c4
One note - unfortunately, currently it is not possible to open Project Properties with LESS configuration selected (API allows to select only category but not a component in the panel). Please, submit a new issue if it is a problem, I will look at it. Thanks.
One more note - New File wizard for Sass/LESS files currently contains the same panel as Project Properties; if one uses it, it means that the configuration of the preprocessor is _done_ so no popup dialog will show when saving Sass/LESS files later. Thanks.
(In reply to comment #2) > > [1] One note - if the "Compile" option will be checked > > It must stay enabled, otherwise it is not doable (from code, we can only open > Project Properties, we cannot prefill any dialog data easily; so we first I was not sure what you meant by this before. You could also just open project properties and let user do all the configuration themselves. (In reply to comment #5) > One more note - New File wizard for Sass/LESS files currently contains the same > panel as Project Properties; if one uses it, it means that the configuration of > the preprocessor is _done_ so no popup dialog will show when saving Sass/LESS > files later. That's correct.
Integrated into 'main-golden', will be available in build *201305302301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/596cd38fe1c4 User: Tomas Mysik <tmysik@netbeans.org> Log: #230445 - Changes in CSS preprocessors workflow
(In reply to comment #6) > I was not sure what you meant by this before. You could also just open project > properties and let user do all the configuration themselves. This is based on Liza's e-mail: > If she says Yes, we open Project Properties with the "Compile" option checked so she can configure the output map and, if necessary, check the executable. Thanks.