Skip to content

Commit

Permalink
docs(custom-actions): add selectedRegex documentation for custom acti…
Browse files Browse the repository at this point in the history
…on templates
  • Loading branch information
phodal committed May 24, 2024
1 parent 0814d80 commit 6fe7ff1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/customize/custom-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ You can customize your prompt in `Settings` -> `Tools` -> `AutoDev`
- priority: the priority of the action, the higher will be first. (0~1000 was recommended)
- template: the template of the action, you can use `${SPEC_controller}` to insert spec, `${SELECTION}` to insert
selected code.
- selectedRegex (since @1.8.3 from [#174](https://github.com/unit-mesh/auto-dev/pull/174)): the regex to match the selected code

## Variables

Expand Down

0 comments on commit 6fe7ff1

Please sign in to comment.