Package com.intellij.codeInsight.completion.impl

Examples of com.intellij.codeInsight.completion.impl.CamelHumpMatcher


    if (Character.isLowerCase(parameters.getPosition().getText().charAt(0))) {
      return;
    }

    String prefix = findCurrentText(parameters, parameters.getPosition());
    CamelHumpMatcher matcher = new CamelHumpMatcher(prefix, false);

    CompletionResultSet result2 = result.withPrefixMatcher(matcher);
    for (String name : symbols.keySet()) {
      SymbolInformationProvider.SymbolInformation symbol = symbols.get(name);
      LookupElementBuilder elm = LookupElementBuilder
View Full Code Here


        Map<String, String> entityNamespaces = ServiceXmlParserFactory.getInstance(parameters.getOriginalFile().getProject(), EntityNamesServiceParser.class).getEntityNameMap();

        // copied from PhpCompletionUtil::addClassesInNamespace looks the official way to find classes in namespaces
        // its a really performance nightmare

        Collection<String> names = phpIndex.getAllClassNames(new CamelHumpMatcher(resultSet.getPrefixMatcher().getPrefix()));
        for (String name : names) {
            Collection<PhpClass> classes = phpIndex.getClassesByName(name);

            for(Map.Entry<String, String> entry: entityNamespaces.entrySet()) {
                String namespaceFqn = PhpLangUtil.toFQN(entry.getValue());
View Full Code Here

        if(!this.provideVariants) {
            return results.toArray();
        }


        CamelHumpMatcher camelHumpMatcher = new CamelHumpMatcher(this.classFQN);
        PhpIndex phpIndex = PhpIndex.getInstance(this.getElement().getProject());

        if(this.useClasses) {
            for (String name : phpIndex.getAllClassNames(camelHumpMatcher)) {
                attachPhpClassToVariants(results, phpIndex.getClassesByName(name));
View Full Code Here

TOP

Related Classes of com.intellij.codeInsight.completion.impl.CamelHumpMatcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.