From aeb7beb1e690f1290d112f66e2835e7a8bfd9370 Mon Sep 17 00:00:00 2001 From: xzper Date: Wed, 23 Mar 2016 19:18:47 +0800 Subject: [PATCH] remove triggerCharacter constraint --- src/vs/workbench/api/node/extHostApiCommands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/api/node/extHostApiCommands.ts b/src/vs/workbench/api/node/extHostApiCommands.ts index abdaed74286..7b4810a9138 100644 --- a/src/vs/workbench/api/node/extHostApiCommands.ts +++ b/src/vs/workbench/api/node/extHostApiCommands.ts @@ -87,7 +87,7 @@ class ExtHostApiCommands { args: [ { name: 'uri', description: 'Uri of a text document', constraint: URI }, { name: 'position', description: 'Position in a text document', constraint: types.Position }, - { name: 'triggerCharacter', description: 'Trigger signature help when the user types the character, like `,` or `(`', constraint: String } + { name: 'triggerCharacter', description: '(optional) Trigger signature help when the user types the character, like `,` or `(`' } ], returns: 'A promise that resolves to SignatureHelp.' }); @@ -103,7 +103,7 @@ class ExtHostApiCommands { args: [ { name: 'uri', description: 'Uri of a text document', constraint: URI }, { name: 'position', description: 'Position in a text document', constraint: types.Position }, - { name: 'triggerCharacter', description: 'Trigger completion when the user types the character, like `,` or `(`', constraint: String } + { name: 'triggerCharacter', description: '(optional) Trigger completion when the user types the character, like `,` or `(`' } ], returns: 'A promise that resolves to a CompletionList-instance.' }); -- GitLab