I'm trying to create a file as a part of one of the commands in my extension and can't seem to get it right.
let wsedit = new vscode.WorkspaceEdit(); const file_path = vscode.Uri.file(value + '/' + value + '.md'); vscode.window.showInformationMessage(file_path.toString()); wsedit.createFile(file_path, {ignoreIfExists: true}); vscode.workspace.applyEdit(wsedit); vscode.window.showInformationMessage('Created a new file: ' value + '/' + value + '.md); value is a string input from the user. The code executes, but from what I can tell no file is being created. How do I properly create the file?