We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c10c792 commit ccebc4dCopy full SHA for ccebc4d
src/features/ExtensionCommands.ts
@@ -354,7 +354,7 @@ export class ExtensionCommandsFeature implements IFeature {
354
}
355
356
private newFile(): Thenable<EditorOperationResponse> {
357
- return vscode.workspace.openTextDocument('')
+ return vscode.workspace.openTextDocument({ content: ''})
358
.then(doc => vscode.window.showTextDocument(doc))
359
.then(_ => EditorOperationResponse.Completed);
360
0 commit comments