提交 899aa459 编写于 作者: J Johannes Rieken

tweak api command doc

上级 241d480c
......@@ -37,7 +37,7 @@ class ExtHostApiCommands {
registerCommands() {
this._register('vscode.executeWorkspaceSymbolProvider', this._executeWorkspaceSymbolProvider, {
description: 'Execute all workspace symbol provider.',
args: [{ name: 'query', constraint: String }],
args: [{ name: 'query', description: 'Search string', constraint: String }],
returns: 'A promise that resolves to an array of SymbolInformation-instances.'
});
......@@ -50,7 +50,7 @@ class ExtHostApiCommands {
returns: 'A promise that resolves to an array of Location-instances.'
});
this._register('vscode.executeHoverProvider', this._executeHoverProvider, {
description: 'Execute all definition provider.',
description: 'Execute all hover provider.',
args: [
{ name: 'uri', description: 'Uri of a text document', constraint: URI },
{ name: 'position', description: 'Position of a symbol', constraint: types.Position }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册