--- title: 17. Commenter --- A commenter allows user to comment the code at the cursor or selected code automatically via *⌘/*. ### 17.1. Define a commenter ```java {% include /code_samples/simple_language_plugin/src/com/simpleplugin/SimpleCommenter.java %} ``` ### 17.2. Register the commenter ```xml ``` ### 17.3. Run the project ![Commenter](img/commenter.png) [Previous](code_style_settings.md) [Top](/tutorials/custom_language_support_tutorial.md) [Next](quick_fix.md)