本文整理汇总了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;
}
开发者ID:eclipse,项目名称:che,代码行数:19,代码来源:ServerCapabilitiesOverlay.java
示例2: getSignatureHelpProvider
import org.eclipse.lsp4j.SignatureHelpOptions; //导入依赖的package包/类
/**
* The server provides signature help support.
*/
@Pure
public SignatureHelpOptions getSignatureHelpProvider() {
return this.signatureHelpProvider;
}
开发者ID:smarr,项目名称:SOMns-vscode,代码行数:8,代码来源:ServerCapabilities.java
示例3: setSignatureHelpProvider
import org.eclipse.lsp4j.SignatureHelpOptions; //导入依赖的package包/类
/**
* The server provides signature help support.
*/
public void setSignatureHelpProvider(final SignatureHelpOptions signatureHelpProvider) {
this.signatureHelpProvider = signatureHelpProvider;
}
开发者ID:smarr,项目名称:SOMns-vscode,代码行数:7,代码来源:ServerCapabilities.java
示例4: createOptions
import org.eclipse.lsp4j.SignatureHelpOptions; //导入依赖的package包/类
public static SignatureHelpOptions createOptions() {
return new SignatureHelpOptions(Arrays.asList("("));
}
开发者ID:eclipse,项目名称:eclipse.jdt.ls,代码行数:4,代码来源:SignatureHelpHandler.java
注:本文中的org.eclipse.lsp4j.SignatureHelpOptions类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论