Ubuntu 9.04, x86_64 GNU/Linux 2.6.28-13, g++ 4.1.3
When I first configure code assistance it resolves all my included objects just fine. But when I edit and save the .cpp
file I'm working on it stops including objects from some of the headers. When I go to those header files they are
grayed out. I use the standard macro definition trick to insure headers are only included once. (see example below) It
seems like the first time code assistant reads my headers the contents are defined. But, the next time it reads them
the contents are grayed out and class methods are unresolvable in other files. I guess it sees that the macro is
already defined and doesn't analyze the contents. This seems appropriate for a normal macro definition, but not in this
--------------- utils.hpp -------------
Sasha, please, prepare the patch for 6.7. This is already the 3rd same issue users have with 6.7.
Created attachment 84598 [details]
patch for relise67_fixes
QA: bug should be fixed in NB6.7.
I can not reproduce the issue so I can not verify the fix, please provide an appropriate test project.
As we have a workaround (run NetBeans with -J-Dcnd.cache.file.state=false -J-Dcnd.apt.cache.entry=false) I don't think
it's a critical issue for patch1.
we have seen such problem a lot on usability study + a lot of complains in forums. I'd like to see it fixed in 6.7
patch. The provided patch looks to be safe and correct. Andrew could you, please, share your project with Alexander and
confirm how it was in 6.7 and how it could be after applying patch.
Please try attached project.
Steps to reproduce:
- open project;
- open parallel.c
- open serial.c
- in serial.c add space at the end of any line (don't save it)
- in parallel.c add space at the end of any line (don't save it)
- switch to serial.c and press Ctrl+S
Created attachment 84667 [details]
A project to reproduce the problem
A special patch org-netbeans-modules-cnd-modelimpl.jar has been made
verified in 6.7 build with patched org-netbeans-modules-cnd-modelimpl.jar
The fix has been ported into the release67_fixes repository.
fix was integrated in release67_fixes, change set:
integrated into 67fixes doesn't mean it's fixed for NB 6.7
verified in nb6.7.1rc
Integrated into 'main-golden', will be available in build *200907240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Alexander Simon <email@example.com>
Log: import from 6.7.1 fix for #168360 code assistance not handling #ifndef directives in header files