Can macros be applied for all errors in intelliJ?

Answered

We have several autogenerated files, that are being referenced extensively in our project. Any time the field names are modified, say changing the case of the field name, all the references are broken.

We could write a macro to fix the reference error. Can the macro be applied for all errors in IntelliJ?

1
1 comment

Macro is a recording of the repeatable steps (Keystrokes in editor or shortcut combinations). If you can achieve the task via such combination it could be possible.You can apply the fix from the inspection to all similar errors at once but (if I understood you correctly) for what you are describing there is no special action.

Also there is Edit | Toggle Case action.

0

Please sign in to leave a comment.