From e25f1b8a4fb04f465de5317de8d8622c4cf67f8a Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Fri, 6 Dec 2024 12:47:11 +0100 Subject: [PATCH] code_intentions.md: Add a tip about setting the descriptionDirectoryName when obfuscating class names --- topics/tutorials/code_intentions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/topics/tutorials/code_intentions.md b/topics/tutorials/code_intentions.md index c5e7a7e36..96ccccfea 100644 --- a/topics/tutorials/code_intentions.md +++ b/topics/tutorials/code_intentions.md @@ -73,6 +73,10 @@ The plugin provides description files in the resources/intentionDescriptio By default, the intention description directory name is the same as the intention class name. It can be customized with the `` element in `` in plugin.xml. +> If your intention class names are obfuscated in the [plugin distribution](plugin_content.md), always declare the `` element. +> +{style="warning"} + "Before" and "after" filenames pattern is before.\$LANG_FILE_EXTENSION\$.template and after.\$LANG_FILE_EXTENSION\$.template respectively. If before/after preview is not needed, specify `true` in the `` in plugin.xml.