Skip to content

Commit

Permalink
Changed user prompt to be more explanatory
Browse files Browse the repository at this point in the history
  • Loading branch information
voiceinthedark committed Aug 4, 2023
1 parent 78a0843 commit 537b442
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ The extension will search for a file called `markdown-blog.yaml` and will parse

### [0.5.2] 2023-08-04
- Fixed datetime formatting

### [0.5.3] 2023-08-04
- Changed user prompt to be more explanatory
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ Initial release of the extension
### 0.5.2
- Fixed date time formatting

### 0.5.3
- Changed user prompt to be more explanatory


## Future plans

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "markdown-blog-extension",
"displayName": "Markdown Blog Extension",
"description": "A companion extension to my markdown-blog which will create a new file in the current directory complete with the required Yaml scaffolding",
"version": "0.5.2",
"version": "0.5.3",
"publisher": "voiceinthedark",
"license": "MIT",
"icon": "voiceinthedark.png",
Expand Down
5 changes: 3 additions & 2 deletions src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ function activate(context) {
}

vscode.window.showInputBox({
placeHolder: 'Enter file name',
placeHolder: 'My-new-article.md',
value: '',
ignoreFocusOut: true,
ignoreFocusOut: true,
prompt: 'Enter file name',
}).then(function (fileName) {
// Create file in current directory
let filepath = app.createFile(currentDirectory, fileName);
Expand Down

0 comments on commit 537b442

Please sign in to comment.