Docblock folding with summary in java similar to php.

Below is a screenshot of a php class file and how it handles docblock folding
Screen shot 2012-08-17 at 5.31.09 PM.png

And here is an example of a java class file and how it handles docblock folding
Screen shot 2012-08-17 at 5.34.03 PM.png

The java docblock is folded in a way that you can't see any details about the docblock itself, just the literal /**...*/ while the php docblock folding shows the summary /** This is the first line in the docblock ... */

I've searched around but have been unable to solve this. Hopefully I can find someone here who has a solution.

3 comments
Comment actions Permalink

I'm not sure what kind of "solution" you expect to get. This behavior is hard-coded. If you would like to see it changed, you're welcome to file a YouTrack issue.

0
Comment actions Permalink

Beyond filing a ticket and having it become a configurable item within IntelliJ itself, I wasn't sure if there was plugin support within the framework to control how code folding works. With your reply I assume the only recourse is to file the ticket.

Overall it would be nice if the experience within jetbrains products and language support was consistent.

0
Comment actions Permalink

We do strive to provide a consistent experience, however, since the support for every major language is developed by a separate team, small inconsistencies like the one you've run into are bound to occur.

0

Please sign in to leave a comment.