Skip to content

Commit

Permalink
code_intentions.md: mention skipBeforeAfter
Browse files Browse the repository at this point in the history
  • Loading branch information
YannCebron committed Nov 25, 2024
1 parent 0eaf627 commit bb19267
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions topics/tutorials/code_intentions.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ By default, the intention description directory name is the same as the intentio
It can be customized with the `<descriptionDirectoryName>` element in `<intentionAction>` in <path>plugin.xml</path>.

"Before" and "after" filenames pattern is <path>before.\$LANG_FILE_EXTENSION\$.template</path> and <path>after.\$LANG_FILE_EXTENSION\$.template</path> respectively.
If before/after preview is not needed, specify `<skipBeforeAfter>true</skipBeforeAfter>` in the `<intentionAction>` in <path>plugin.xml</path>.

> If a plugin project is multi-module, and it combines resources into a single JAR, make sure that all intention description files have unique names or paths.
> Otherwise, only the last packed description file will exist in the distribution package.
Expand Down

0 comments on commit bb19267

Please sign in to comment.