Merge pull request #24474 from gregvanl/master

Porting a couple of community complex command fixes
This commit is contained in:
Johannes Rieken
2017-04-11 09:33:36 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -616,7 +616,7 @@ class FoldAction extends FoldingAction<FoldingArguments> {
name: 'Fold editor argument',
description: `Property-value pairs that can be passed through this argument:
* 'levels': Number of levels to fold
* 'up': If 'true' folds given number of levels up otherwise folds down
* 'up': If 'true', folds given number of levels up otherwise folds down
`,
constraint: foldingArgumentsConstraint
}
@@ -190,7 +190,7 @@ export class ExtHostApiCommands {
description: 'Open a folder in the current window or new window depending on the newWindow argument. Note that opening in the same window will shutdown the current extension host process and start a new one on the given folder unless the newWindow parameter is set to true.',
args: [
{ name: 'uri', description: '(optional) Uri of the folder to open. If not provided, a native dialog will ask the user for the folder', constraint: value => value === void 0 || value instanceof URI },
{ name: 'newWindow', description: '(optional) Wether to open the folder in a new window or the same. Defaults to opening in the same window.', constraint: value => value === void 0 || typeof value === 'boolean' }
{ name: 'newWindow', description: '(optional) Whether to open the folder in a new window or the same. Defaults to opening in the same window.', constraint: value => value === void 0 || typeof value === 'boolean' }
]
});