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.

Bug 158206

Summary: indexing support enhancements
Product: editor Reporter: Stanislav Aubrecht <saubrecht>
Component: Parsing & IndexingAssignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: jtulach
Priority: P2 Keywords: API
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 148723    

Description Stanislav Aubrecht 2009-02-09 15:06:07 UTC
the current version of indexing support in indexing api allows access through source roots only. however task list
doesn't know any project source root except for the generic one which is the whole project folder.
task list needs the load cached data for main/current project, all opened projects, all opened files (and possibly an
arbitrary package/folder)
Comment 1 Vitezslav Stejskal 2009-03-27 13:46:32 UTC
http://hg.netbeans.org/jet-main/rev/89ef0fb628d9
Comment 2 Vitezslav Stejskal 2009-03-27 13:48:45 UTC
There are two new methods: QuerySupport.findRoots(FileObject, ...) and QuerySupport.findRoots(Project, ...)
Comment 3 Quality Engineering 2009-03-28 20:47:01 UTC
Integrated into 'main-golden', will be available in build *200903281400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/89ef0fb628d9
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #158206: moving generaly useful findRoots methods from GsfUtilities to QuerySupport in Parsing & Indexing API