diff --git a/package.json b/package.json index 3895eaa7..95d346b6 100644 --- a/package.json +++ b/package.json @@ -2476,6 +2476,14 @@ "command": "frontMatter.collapseSections", "when": "false" }, + { + "command": "frontMatter.insertTags", + "when": "false" + }, + { + "command": "frontMatter.insertCategories", + "when": "false" + }, { "command": "frontMatter.registerFolder", "when": "false" @@ -2572,10 +2580,6 @@ "command": "frontMatter.insertCategories", "when": "frontMatter:file:isValid == true" }, - { - "command": "frontMatter.insertTags", - "when": "frontMatter:file:isValid == true" - }, { "command": "frontMatter.preview", "when": "frontMatter:file:isValid == true" diff --git a/src/commands/Settings.ts b/src/commands/Settings.ts index 61a3a0c7..a125ca4b 100644 --- a/src/commands/Settings.ts +++ b/src/commands/Settings.ts @@ -18,8 +18,8 @@ export class Settings { const taxonomy = type === TaxonomyType.Tag ? 'tag' : 'category'; const newOption = await vscode.window.showInputBox({ - prompt: l10n.t(LocalizationKey.commandsFoldersCreateInputPrompt, taxonomy), - placeHolder: l10n.t(LocalizationKey.commandsFoldersCreateInputPlaceholder, taxonomy), + prompt: l10n.t(LocalizationKey.commandsSettingsCreateInputPrompt, taxonomy), + placeHolder: l10n.t(LocalizationKey.commandsSettingsCreateInputPlaceholder, taxonomy), ignoreFocusOut: true });