--- title: 12. Folding Builder --- A folding builder helps you to fold the code regions and replace it with specific text. ### 12.1. Define a folding builder Let's replace usages of properties with its values by default. ```java {% include /code_samples/simple_language_plugin/src/com/simpleplugin/SimpleFoldingBuilder.java %} ``` ### 12.2. Register the folding builder ```xml ``` ### 12.3. Run the project Now when we open a Java file, it shows the property's value instead of the key. ![Folding](img/folding.png) [Previous](find_usages_provider.md) [Top](/tutorials/custom_language_support_tutorial.md) [Next](go_to_symbol_contributor.md)