Community
Participate
Working Groups
Build Identifier: HEAD This is a follow up on bug173458 (enabling camel case completion for CDT). It turned out that implementing and selecting the name matching strategies in CDT core is not optimal since - it imposes unnecessary dependencies on clients (=preferences) - it prevents from choosing different strategies for different clients The basic approach to escalate the name matching strategy into the client is the following: - Introduce the concept of an INameMatcher which is used everywhere in the core, i.e. not just for content assist. For the cases that exact names are to be searched (i.e. no content assist), an ExactNameMatcher implementation of INameMatcher is provided for this use. - a method taking the name matcher as parameter instead of a prefix will be added to the following interfaces: IASTCompletionContext ICPPASTCompletionContext IScope IIndex Reproducible: Always
Created attachment 211651 [details] proposed implementation