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.
Steps: - Push File|New Project... menu. - Choose "Samples|C/C++ Development|C/C++|Args" project. Push "Next" button. - Push "Finish" button. - Open args.c file in built-in editor. "code folding" in C files are disabled
Please reverify this problem against a build from 17 April or later. I checked in a fix for 74332 last Friday which should have resoled this. I just did cvs updates and builds on both my Solaris box and laptop and both correctly showed both the code folding and syntax highlighting. I believe 74332 was the cause of the problem you reported here, because it was caused by incorrect mime-type for C files. Because the editor didn't get the correct mime-type, it didn't use the advanced editing features for C (which includes code completion). Please reverify and reopen the bug if you still see the problem.
Verified on Solaris, Windows and Linux.