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.
Summary: | code assistance not handling #ifndef directives in header files correctly | ||
---|---|---|---|
Product: | cnd | Reporter: | lon8lunch <lon8lunch> |
Component: | Code Completion | Assignee: | Alexander Simon <alexvsimon> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | apepin, mmirilovic, sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
patch for relise67_fixes
A project to reproduce the problem |
Description
lon8lunch
2009-07-09 17:39:41 UTC
Sasha, please, prepare the patch for 6.7. This is already the 3rd same issue users have with 6.7. Thanks. Vladimir. 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. Thanks, Vladimir. 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. http://hg.netbeans.org/release67_fixes/rev/9584a0ed1c0f fix was integrated in release67_fixes, change set: http://hg.netbeans.org/release67_fixes/rev/3472853b3509 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) Changeset: http://hg.netbeans.org/main-golden/rev/1da10a04a677 User: Alexander Simon <alexvsimon@netbeans.org> Log: import from 6.7.1 fix for #168360 code assistance not handling #ifndef directives in header files |