Skip to content

Commit

Permalink
Merge pull request #24474 from gregvanl/master
Browse files Browse the repository at this point in the history
Porting a couple of community complex command fixes
  • Loading branch information
jrieken committed Apr 11, 2017
2 parents a5e9d3b + 2a46891 commit 637a48b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/folding/browser/folding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/api/node/extHostApiCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
]
});

Expand Down

0 comments on commit 637a48b

Please sign in to comment.