mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
code_intentions.md: Add a tip about setting the descriptionDirectoryName when obfuscating class names
This commit is contained in:
parent
c3a5c4ced3
commit
e25f1b8a4f
@ -73,6 +73,10 @@ The plugin provides description files in the <path>resources/intentionDescriptio
|
||||
By default, the intention description directory name is the same as the intention class name.
|
||||
It can be customized with the `<descriptionDirectoryName>` element in `<intentionAction>` in <path>plugin.xml</path>.
|
||||
|
||||
> If your intention class names are obfuscated in the [plugin distribution](plugin_content.md), always declare the `<descriptionDirectoryName>` element.
|
||||
>
|
||||
{style="warning"}
|
||||
|
||||
"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>.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user