Skip to content

Commit bb19267

Browse files
committed
code_intentions.md: mention skipBeforeAfter
1 parent 0eaf627 commit bb19267

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

topics/tutorials/code_intentions.md

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ By default, the intention description directory name is the same as the intentio
7474
It can be customized with the `<descriptionDirectoryName>` element in `<intentionAction>` in <path>plugin.xml</path>.
7575

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

7879
> 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.
7980
> Otherwise, only the last packed description file will exist in the distribution package.

0 commit comments

Comments
 (0)