Skip to content

Commit 7b74f62

Browse files
🆕 Add option to create new notes from Explorer foambubble#1376
1 parent 4a410d1 commit 7b74f62

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/foam-vscode/package.json

+12
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,13 @@
287287
"command": "foam-vscode.completion-move-cursor",
288288
"when": "false"
289289
}
290+
],
291+
"explorer/context": [
292+
{
293+
"command": "foam-vscode.create-note-from-template",
294+
"when": "config.foam.files.showNewNoteInExplorer",
295+
"group": "navigation"
296+
}
290297
]
291298
},
292299
"commands": [
@@ -642,6 +649,11 @@
642649
"type": "object",
643650
"description": "Custom graph styling settings. An example is present in the documentation.",
644651
"default": {}
652+
},
653+
"foam.files.showNewNoteInExplorer": {
654+
"type": "boolean",
655+
"default": true,
656+
"description": "Show the option to create a new note in the Explorer context menu."
645657
}
646658
}
647659
},

0 commit comments

Comments
 (0)