junichi11 commented on code in PR #7027:
URL: https://github.com/apache/netbeans/pull/7027#discussion_r1477691025
##########
php/php.editor/src/org/netbeans/modules/php/editor/completion/PHPCompletionItem.java:
##########
@@ -359,12 +368,99 @@ public String getInsertPrefix() {
assert false : "[" + tpl + "] should start with [" +
extraPrefix + "]";
}
}
+ if (getCodeCompletionType() == CodeCompletionType.AUTO_IMPORT) {
+ String fqName =
ifq.getFullyQualifiedName().toString().substring(CodeUtils.NS_SEPARATOR.length());
+ String name = getName();
+ String useType = getUseType();
+ String aliasName = CodeUtils.EMPTY_STRING;
Review Comment:
This is not used at the moment. However, it would be useful if someone
requests importing as an alias(when the use list has the same name) in the
future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists