60 likes | 80 Views
Clean separation between indexer and tools, multi-language capabilities, common interface for symbols of different sources, simplifies coding with CSearch, AST, or CModel. Planned refactorings to improve UI and location model within DOM. Extract method refactoring.
E N D
CDT 3.2 Markus Schorn, Wind River Systems
What’s planned • Clean separation between indexer and tools via an interface. • Multi language capabilities within this interface. • Common interface for symbols of different sources (CModel, DOM, CSearch).
Indexer and Toolsnow CSearch Indexer 1 Index 1 TypeHierarchy Indexer 2 Index 2
Indexer and Tools File Dependencies Indexer 1 Index 1 CSearch Type Hierarchy Indexer 2 Query Interface Query Module Index 2
Common Symbol Interface • Cover what’s common to ICElement, IMatch and IASTDeclaration. • Keep it flat and simple. • Simplifies contributing to views with different symbols. • Simplifies coding where more than one of CSearch, AST or CModel is involved.
Refactoring, what should be done • Improve the UI. (Platform has made changes I asked for) • Fix the location model within DOM. • Further refactorings, e.g. Extract Method.