Community
Participate
Working Groups
Tested: -8.0.0.201011290012 (not working) -8.0.0.201012211206 (not working) -7.0.1.201009141542 (working) #define TEST 1 #define TEST2 TEST Hold Ctrl and hover on TEST, no hyperlink is available. Maybe caused by the fix in bug 326418?
Created attachment 186707 [details] Macro Hyperlink patch The hyperlink detector was using a fallback that got removed recently. This fallback was useful for this case. Since the new hyperlink detector has now a more complete fallback when the ast is not available, I made a change so that this fallback is also used if the ast is available but did not detect an hyperlink. This has been a major issue for me using CDT in my daily. If possible, I would really like to see this fixed for 7.0.2.
Hi Sergey. Since you made the recent changes to the hyperlink detector, can I ask your opinion on this?
I'll take a look at the patch.
(In reply to comment #0) > Tested: > -8.0.0.201011290012 (not working) > -8.0.0.201012211206 (not working) > -7.0.1.201009141542 (working) > > > #define TEST 1 > #define TEST2 TEST > > Hold Ctrl and hover on TEST, no hyperlink is available. Maybe caused by the fix > in bug 326418? It's a bigger problem than just hyperlink detection. F3 navigation and occurrences finder don't work either.
(In reply to comment #4) > It's a bigger problem than just hyperlink detection. F3 navigation and > occurrences finder don't work either. Hmmm, F3 works for me, but occurrences don't work in 6.0.2 and 7.0.0 either.
I don't know why F3 navigation didn't work for me when I tried it first time. It works now. Fixed in HEAD and cdt_7_0 > 20110113.
(In reply to comment #6) > Fixed in HEAD and cdt_7_0 > 20110113. Excellent, thank you!
*** cdt cvs genie on behalf of sprigogin *** Bug 333050 - Hyperlinks don't work inside macros [*] HyperlinkTest.java 1.10.2.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/HyperlinkTest.java?root=Tools_Project&r1=1.10.2.2&r2=1.10.2.3 [*] CElementHyperlinkDetector.java 1.18.6.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CElementHyperlinkDetector.java?root=Tools_Project&r1=1.18.6.2&r2=1.18.6.3 [*] HyperlinkTest.java 1.13 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/HyperlinkTest.java?root=Tools_Project&r1=1.12&r2=1.13 [*] CElementHyperlinkDetector.java 1.22 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CElementHyperlinkDetector.java?root=Tools_Project&r1=1.21&r2=1.22