Skip to content

Commit

Permalink
(cake-build#265) add documentation for the features of Milestone 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-a committed Oct 1, 2022
1 parent 5460d34 commit 0544f84
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/input/docs/integrations/editors/rider/index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RedirectFrom: docs/editors/rider
---

<p>
The <a href="https://plugins.jetbrains.com/plugin/15729-cake-rider" target="_blank">Cake plugin for Rider </a>
The <a href="https://plugins.jetbrains.com/plugin/15729-cake-rider" target="_blank">Cake plugin for Rider</a>
brings the following features to JetBrains Rider:
<ul>
<li><a href="/docs/integrations/editors/rider/run-configurations">Run configurations</a></li>
Expand All @@ -24,7 +24,7 @@ RedirectFrom: docs/editors/rider

<div class="alert alert-info">
<p>
The <a href="https://plugins.jetbrains.com/plugin/15729-cake-rider" target="_blank">Cake plugin for Rider</a> supports Rider version 2021.2 and newer.
The <a href="https://plugins.jetbrains.com/plugin/15729-cake-rider" target="_blank">Cake plugin for Rider</a> supports Rider version 2022.2 and newer.
</p>
</div>

Expand Down
29 changes: 26 additions & 3 deletions docs/input/docs/integrations/editors/rider/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ select **Add | Cake File** to create a new Cake file containing some sample code

# Live templates (sometimes called code snippets)

Live templates are only available in Cake files.
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#tool">Cake</a></li>
<li><a data-toggle="tab" href="#frosting">Cake Frosting</a></li>
</ul>

Available live templates:
<div class="tab-content">
<div id="tool" class="tab-pane fade in active">

Available live templates in Cake:

* `cake-addin`
* Provides a basic `#addin` pre-processor directive, where the package name and version can be changed
Expand Down Expand Up @@ -70,4 +76,21 @@ Available live templates:
* `task-action`
* Provides a more complex task definition, including a `.Does` body, where the name of the task can be changed
* `teardown`
* Provides a sample teardown definition
* Provides a sample teardown definition

</div>
<div id="frosting" class="tab-pane fade">

Available live templates in Cake Frosting:

* `cake-task`
* Provides a basic task definition class
* `cake-task-ctx`
* Provides a basic task definition class, using a custom `Context`
* `cake-async-task`
* Provides an async task definition class
* `cake-async-task-ctx`
* Provides an async task definition class, using a custom `Context`

</div>
</div>

0 comments on commit 0544f84

Please sign in to comment.