A
A
asat2014-06-10 11:10:19
Java
asat, 2014-06-10 11:10:19

How to display comments after a long block of code in IntelliJ Idea?

Is it possible, and if possible, how to configure IntelliJ Idea so that after long blocks of code, after the closing curly brace, the IDE displays a comment in which the line before the beginning of the block is partially or completely shown (for if(...), for(.. .)etc.)?
I want it to look like Annotate closing braces with end-comments in Source Insight .
c82ce44d045f4793ba315b6ea9b8abf1.gif
I saw what Eclipse can do, but could not find how to do it.
I am using IntelliJ Idea 13.1.2 Community Edition.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Kozlov, 2014-06-18
@njc

What's the point of this? Idea so tells you the beginning of the block if you set the cursor to the end of the block. (at least it works like this with methods)
Clogging source codes with such comments is evil. I understand that it's a matter of habit, but you can do without it.
I don't know how to do this in Idea, but I think it's possible somehow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question