Custom commenting format: surrounding text in an ASCII box

I'd like to accomplish the following:

  1. Select this text:

    Load admin area styles and scripts
  2. Press a keyboard shortcut

  3. Obtain this:

    // ╔════════════════════════════════════╗
    // ║ Load admin area styles and scripts ║
    // ╚════════════════════════════════════╝

...or the same box drawn with # or * or some other characters.

Is there a macro I could record for this (if so, how exactly) or maybe a plugin I could configure to make this happen? Thanks!

1
1 comment

There's no way to achieve this. You can submit a feature request for that, but I have to be honest with you - unless it has a huge amount of votes, we won't do that.
https://youtrack.jetbrains.com/newIssue?project=IDEA

1

Please sign in to leave a comment.