@@ -3,8 +3,8 @@ title: Commands
3
3
slug : commands
4
4
description : null
5
5
date : 2021-08-30T16:13:00.546Z
6
- lastmod : 2024-02-13T09:43:12.442Z
7
- weight : 900
6
+ lastmod : 2024-02-27T08:47:18.318Z
7
+ weight : 1100
8
8
---
9
9
10
10
# Commands
@@ -33,7 +33,7 @@ Some of the commands do also have a default keyboard binding for quick access.
33
33
- Mac: <kbd >shift</kbd > + <kbd >cmd</kbd > + <kbd >P</kbd >
34
34
- Use one of the following commands
35
35
36
- ## Available commands
36
+ ## Useful commands
37
37
38
38
### Initialize project
39
39
@@ -49,84 +49,57 @@ the welcome screen will be shown.
49
49
50
50
ID: ` frontMatter.dashboard `
51
51
52
- ### Diagnostic logging
53
-
54
- Opens a virtual Markdown document with detailed information about your Front Matter configuration.
55
-
56
- ID: ` frontMatter.diagnostics `
57
-
58
- ### Insert media into your content
59
-
60
- Allows you to quickly insert an media reference in the Markdown file.
61
-
62
- ID: ` frontMatter.insertMedia `
63
-
64
- ### Insert snippet into your content
65
-
66
- Allows you to quickly insert a snippet in the Markdown file.
67
-
68
- ID: ` frontMatter.insertSnippet `
69
-
70
- ### Create category
52
+ ### Open media dashboard
71
53
72
- Creates a new category and allows you to include it into your post automatically .
54
+ Opens the media dashboard with all your media files .
73
55
74
- ID: ` frontMatter.createCategory `
56
+ ID: ` frontMatter.dashboard.media `
75
57
76
- ### Create tag
58
+ ### Open snippet dashboard
77
59
78
- Creates a new tag and allows you to include it into your post automatically .
60
+ Opens the snippet dashboard with all your snippets .
79
61
80
- ID: ` frontMatter.createTag `
62
+ ID: ` frontMatter.dashboard.snippets `
81
63
82
- ### Insert categories
64
+ ### Open data dashboard
83
65
84
- Inserts a selected categories into the front matter of your article/post/... - When using this
85
- command, the Front Matter panel opens and focuses on the specified type.
66
+ Opens the data dashboard with all your data files.
86
67
87
- ID: ` frontMatter.insertCategories `
68
+ ID: ` frontMatter.dashboard.data `
88
69
89
- ### Insert tags
70
+ ### Open taxonomy dashboard
90
71
91
- Inserts a selected tags into the front matter of your article/post/... - When using this command,
92
- the Front Matter panel opens and focuses on the specified type.
72
+ Opens the taxonomy dashboard with all your categories and tags.
93
73
94
- ID: ` frontMatter.insertTags `
74
+ ID: ` frontMatter.dashboard.taxonomy `
95
75
96
- ### Export all tags & categories to your settings
97
-
98
- Export all the already used tags & categories in your articles/posts/... to your user settings.
76
+ ### Insert media into your content
99
77
100
- ID: ` frontMatter.exportTaxonomy `
78
+ Allows you to quickly insert an media reference in the Markdown file.
101
79
102
- ### Remap or remove tag/category in all articles
80
+ ID: ` frontMatter.insertMedia `
103
81
104
- This command helps you quickly update/remap or delete a tag or category in your markdown files. The
105
- extension will ask you to select the taxonomy type (tag or category), the old taxonomy value, and
106
- the new one (leave the input field blank to remove the tag/category).
82
+ ### Insert snippet into your content
107
83
108
- > ** Info** : Once the remapping/deleting process completes, your VS Code settings update with all new
109
- > taxonomy tags/categories.
84
+ Allows you to quickly insert a snippet in the Markdown file.
110
85
111
- ID: ` frontMatter.remap `
86
+ ID: ` frontMatter.insertSnippet `
112
87
113
- ### Create a template from current file
88
+ ### Create new content
114
89
115
- This command allows you to create a new template from the current open Markdown file. It will ask
116
- you for the name of the template and if you want to keep the current file its content in the
117
- template.
90
+ With this command, you can easily create content in your project from the defined content types.
118
91
119
- ID: ` frontMatter.createTemplate `
92
+ ID: ` frontMatter.createContent `
120
93
121
- ### Create new content from defined content type or template
94
+ ### Create new translation
122
95
123
- With this command, you can easily create content in your project from the defined content types or
124
- templates .
96
+ This command allows you to create a new translation for the current content if the
97
+ multilingual feature is enabled .
125
98
126
- > ** Info** : The command will use the ` frontMatter.templates.prefix ` setting in order to add a prefix
127
- > (default: ` yyyy-MM-dd ` ) on the filename .
99
+ > ** Info** : More information about the multilingual feature can be found in the
100
+ > [ multilingual documentation ] ( /docs/content-creation/multilingual ) .
128
101
129
- ID: ` frontMatter.createContent `
102
+ ID: ` frontMatter.i18n.create `
130
103
131
104
### Generate slug based on content title
132
105
@@ -149,24 +122,22 @@ Open the site preview of your content in VS Code.
149
122
150
123
ID: ` frontMatter.preview `
151
124
152
- ### Promote settings from local to team level
153
-
154
- This command allows you to promote all local settings from within your ` .vscode/settings.json ` file
155
- to be promoted to the projects team configuration ` frontmatter.json ` file.
156
-
157
- ID: ` frontMatter.promoteSettings `
158
-
159
125
### Refresh the settings
160
126
161
127
This command allows you to refresh the settings from the ` frontmatter.json ` file. This is useful
162
128
when you have updated the settings manually and want to reload them.
163
129
164
130
ID: ` frontMatter.settings.refresh `
165
131
166
- ## Removed commands
132
+ ### Clear cache
167
133
168
- ### Set current date
134
+ Clears the CMS cache, this removes all processed pages and data from the cache so that
135
+ the whole cache can be rebuilt.
169
136
170
- This command has been removed, as it became obsolete since the introduction of Content Types.
137
+ ID: ` frontMatter.cache.clear `
138
+
139
+ ### Diagnostic logging
140
+
141
+ Opens a virtual Markdown document with detailed information about your Front Matter configuration.
171
142
172
- ID: ` frontMatter.setDate `
143
+ ID: ` frontMatter.diagnostics `
0 commit comments