Bug 529836 - Search for references
Summary: Search for references
Status: RESOLVED WORKSFORME
Alias: None
Product: CDT
Classification: Tools
Component: cdt-source-nav (show other bugs)
Version: Next   Edit
Hardware: PC Windows 10
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2018-01-15 11:40 EST by Dave Braun CLA
Modified: 2018-06-05 11:27 EDT (History)
3 users (show)

See Also:


Attachments
Screenshot showing error (104.35 KB, image/png)
2018-01-15 11:52 EST, Dave Braun CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Braun CLA 2018-01-15 11:40:15 EST
Searching for references produces a list with correct line numbers but incorrect function names

-- Configuration Details --
Product: Sloeber, the Eclipse Arduino IDE 4.2.0.201711210114 (io.sloeber.application.product)Installed Features:
 org.eclipse.platform 4.7.2.v20171130-0510
Comment 1 Dave Braun CLA 2018-01-15 11:52:23 EST
Created attachment 272268 [details]
Screenshot showing error

Note that the listed reference has the correct line number but the incorrect function name. The function name in the listed reference is for the function preceedding the referencing function.
Comment 2 Nathan Ridge CLA 2018-02-08 20:04:54 EST
Issues like this are sometimes caused by an out-of-date index. Does Project -> C/C++ Index -> Rebuild help?
Comment 3 Nathan Ridge CLA 2018-06-05 11:27:30 EDT
Closing as the question asked in comment 2 has not been answered.

If rebuilding the index does not make this problem go away, please feel free to reopen and provide steps + example code to reproduce the issue.