Append refactor

It would be nice if you could refactor code like this:


        sb.append( " :" );
        sb.append( "in <a href=\"" );

Ideally even when such code is mixed in with other code that does not
need to be collapsed, ideally even when sb.append is an analog of
StringBuilder.append, not just StringBuilder itself.
--
Roedy Green Canadian Mind Products
http://mindprod.com

An example (complete and annotated) is worth 1000 lines of BNF.

0

Hello Roedy,

Please file a feature request at http://youtrack.jetbrains.com/

It would be nice if you could refactor code like this:

sb.append( " :" );
sb.append( "<ul><li>" );
sb.append( "in " );
sb.append( "<a href=\"" );
to this, with just a click:

sb.append( " :<ul><li>in <a href=\"" );

Ideally even when such code is mixed in with other code that does not
need to be collapsed, ideally even when sb.append is an analog of
StringBuilder.append, not just StringBuilder itself.

An example (complete and annotated) is worth 1000 lines of BNF.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Permanently deleted user

Hello Roedy,

Please file a feature request at http://youtrack.jetbrains.com/

It would be nice if you could refactor code like this:

sb.append( " :" );
sb.append( "<ul><li>" );
sb.append( "in " );
sb.append( "<a href=\"" );
to this, with just a click:

sb.append( " :<ul><li>in <a href=\"" );

Ideally even when such code is mixed in with other code that does not
need to be collapsed, ideally even when sb.append is an analog of
StringBuilder.append, not just StringBuilder itself.

An example (complete and annotated) is worth 1000 lines of BNF.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

请先登录再写评论。