Have you ever considered, the "frontMatter.framework.startCommand" could have multiple entries. When building my web sites or adding new content, I often find my self running the startCommand with multiple parameters, e.g. showing drafts and future posts, to get a visual view of posts and layout etc.
On the other hand, when changing some code or layout, I quite often want to run the startCommand with less parameters, no drafts, no future posts etc.
I am imagine the first entry should be the default, however if multiple entries has been added to the frontMatter.framework.startCommand, a dropdown on "Start Server" button should allow me to change from one startCommand to another.
Thank you for a great solution, it is much appreciated.
--Jesper
**Having multiple startCommands**
Have you ever considered, the "frontMatter.framework.startCommand" could have multiple entries. When building my web sites or adding new content, I often find my self running the startCommand with multiple parameters, e.g. showing drafts and future posts, to get a visual view of posts and layout etc.
On the other hand, when changing some code or layout, I quite often want to run the startCommand with less parameters, no drafts, no future posts etc.
I am imagine the first entry should be the default, however if multiple entries has been added to the frontMatter.framework.startCommand, a dropdown on "Start Server" button should allow me to change from one startCommand to another.
Thank you for a great solution, it is much appreciated.
--Jesper
<!-- github-sync-id:3425030783 -->
Sidebar: this feels like abuse of the plugin ;) Why not, given that we are already in VSCode, using the .vscode/task.json system, to create a couple of starter scripts? They will appear at the top of the sidebar and will have a dropdown in the run button. Just saying. Sidebar-end :)
Sidebar: this feels like abuse of the plugin ;) Why not, given that we are already in VSCode, using [the .vscode/task.json system](https://code.visualstudio.com/docs/debugtest/tasks#vscode), to create a couple of starter scripts? They will appear at the top of the sidebar and will have a dropdown in the run button. Just saying. Sidebar-end :)
<!-- github-comment-id:3301761446 -->
@davidsneighbour interesting, I wasn't aware of this option, however I still thing it would be nice to have in the Frontmatter action - I will look into VS Code Tasks and give it a try.
Thanks
--Jesper
@davidsneighbour interesting, I wasn't aware of this option, however I still thing it would be nice to have in the Frontmatter action - I will look into VS Code Tasks and give it a try.
Thanks
--Jesper
<!-- github-comment-id:3301781188 -->
I agree with @davidsneighbour, although I can see the point of having the ability to open a new terminal and run a command. Like the custom actions, but they run a script in the background, have an option or type to open a terminal.
I agree with @davidsneighbour, although I can see the point of having the ability to open a new terminal and run a command. Like the custom actions, but they run a script in the background, have an option or type to open a terminal.
<!-- github-comment-id:3311155060 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Having multiple startCommands
Have you ever considered, the "frontMatter.framework.startCommand" could have multiple entries. When building my web sites or adding new content, I often find my self running the startCommand with multiple parameters, e.g. showing drafts and future posts, to get a visual view of posts and layout etc.
On the other hand, when changing some code or layout, I quite often want to run the startCommand with less parameters, no drafts, no future posts etc.
I am imagine the first entry should be the default, however if multiple entries has been added to the frontMatter.framework.startCommand, a dropdown on "Start Server" button should allow me to change from one startCommand to another.
Thank you for a great solution, it is much appreciated.
--Jesper
Sidebar: this feels like abuse of the plugin ;) Why not, given that we are already in VSCode, using the .vscode/task.json system, to create a couple of starter scripts? They will appear at the top of the sidebar and will have a dropdown in the run button. Just saying. Sidebar-end :)
@davidsneighbour interesting, I wasn't aware of this option, however I still thing it would be nice to have in the Frontmatter action - I will look into VS Code Tasks and give it a try.
Thanks
--Jesper
I agree with @davidsneighbour, although I can see the point of having the ability to open a new terminal and run a command. Like the custom actions, but they run a script in the background, have an option or type to open a terminal.