本文整理汇总了Java中org.eclipse.lsp4j.SignatureHelpOptions类的典型用法代码示例。如果您正苦于以下问题:Java SignatureHelpOptions类的具体用法?Java SignatureHelpOptions怎么用?Java SignatureHelpOptions使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SignatureHelpOptions类属于org.eclipse.lsp4j包,在下文中一共展示了SignatureHelpOptions类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getSignatureHelpProvider
import org.eclipse.lsp4j.SignatureHelpOptions; //导入依赖的package包/类
public SignatureHelpOptions getSignatureHelpProvider() {
SignatureHelpOptions leftOptions = left.getSignatureHelpProvider();
SignatureHelpOptions rightOptions = right.getSignatureHelpProvider();
if (leftOptions == null) {
return rightOptions;
}
if (rightOptions == null) {
return leftOptions;
}
SignatureHelpOptions result = new SignatureHelpOptions();
List<String> triggerChars = new ArrayList<>();
triggerChars.addAll(listish(leftOptions.getTriggerCharacters()));
triggerChars.addAll(listish(rightOptions.getTriggerCharacters()));
result.setTriggerCharacters(triggerChars);
return result;
}
示例2: getSignatureHelpProvider
import org.eclipse.lsp4j.SignatureHelpOptions; //导入依赖的package包/类
/**
* The server provides signature help support.
*/
@Pure
public SignatureHelpOptions getSignatureHelpProvider() {
return this.signatureHelpProvider;
}
示例3: setSignatureHelpProvider
import org.eclipse.lsp4j.SignatureHelpOptions; //导入依赖的package包/类
/**
* The server provides signature help support.
*/
public void setSignatureHelpProvider(final SignatureHelpOptions signatureHelpProvider) {
this.signatureHelpProvider = signatureHelpProvider;
}
示例4: createOptions
import org.eclipse.lsp4j.SignatureHelpOptions; //导入依赖的package包/类
public static SignatureHelpOptions createOptions() {
return new SignatureHelpOptions(Arrays.asList("("));
}