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.
Patch 1 update, that i downloaded (Build 201403101706), contains some errors. 1) Netbeans doesn`t highlight less or css file 2) Code folding in less and css doesn`t work (there are now any pluses and minuses even thought in settings code folding is enabled) 3) PHP code folding is also broken, but highlight is work properly Interesting fact, if exit from netbeans and after thar launch it againg, first tab is work properly, but if reopening code folding and highlight don`r work again.
Created attachment 147135 [details] highlight in css and less
It works for me, as far as I know, there is no change in Less/CSS in patch1. The missing highlighting/folding could happen if the whole file has not been parsed yet (with big files, it could take few seconds). Does it happen with every css/less file? If you create a new css file with simple content like div{ color: red } does it work? If so, could you attach the problematic file here? Could you please also attach IDE log (see [1])? [1] http://wiki.netbeans.org/FaqLogMessagesFile
if create a new css file, highlight doesn`t work, also code folding too. Example in attachment. Log will be in 2 minute.
Created attachment 147137 [details] less file example
Created attachment 147138 [details] log
oh! strange. when i try to zip log folder windows tell me that it open in netbeans. I closed netbeans but windows tell me this again. after that i noticed that there are about 10 processes of netbeans in task manager. i closed all of them manually and after that launch netbeans. All works and highligh and code folding of css and less. I opened 10 css files, 2 opened with highlight, over not. All PHP files works without highlight.
Is NetBeans still scanning while this happens? (there would be progress bar at the bottom part of NetBeans window) Do you happen to have some twig files in opened projects? If so, could you please start NetBeans, close all projects (or the ones with twig files), close NetBeans, create a new PHP project and try again PHP file and Less file? It could be caused by issue 244197
(In reply to fecce91 from comment #6) > oh! strange. when i try to zip log folder windows tell me that it open in > netbeans. I closed netbeans but windows tell me this again. after that i > noticed that there are about 10 processes of netbeans in task manager. i > closed all of them manually and after that launch netbeans. All works and > highligh and code folding of css and less. I opened 10 css files, 2 opened > with highlight, over not. > > All PHP files works without highlight. That would support that you suffer from issue 244197. See comment #9 in that issue with workaround.
i replaced twig module file but now background scanning freeze in 80%. highlight doesn`t work in css less files.
also i noticed that after exiting that process of netbeans doesn`t finished
after deactivating twig plugin all start work properly. You were right.
after activating twig module and restarting ide highlight and code folding works. Thanks. *** This bug has been marked as a duplicate of bug 244197 ***