We have an autoformatting functionality in our plugin that formats a small part of the file the user is typing in whenever its content changes (I know this isn’t usually recommended, but we’re paying attention to performance and it’s only a small part of the file). We are currently using all actions that I listed as well as a TypedHandler to react to any changes in our files, however there doesn’t seem to be a way for us to react when a user deletes text that they selected, resulting in an unformatted file which could be confusing and annoying to our users.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Why is com.intellij.editorTypedHandler extension point deprecated? | 3 | 107 | October 9, 2025 | |
| Can "inline.completion" support deleting or replacing certain characters? | 2 | 114 | March 25, 2025 | |
| Always execute code when ESC is pressed | 11 | 228 | April 8, 2025 | |
| Make built-in Editor Action behave same way as if executed from AnAction | 0 | 52 | June 14, 2025 | |
| How to add an action button to the upper right corner of the EditorTextField? | 4 | 57 | December 3, 2025 |