+1

At 10:35 17.01.2002 -0800, you wrote:
>Something similar was suggested before, but it wasn't quite the same (I don't
>think): it would be nice to have a "smart delete" feature assigned to some key
>like ctrl-backspace. It would delete the current thing that the cursor was in
>and remove all associated parens, braces, etc.
>
>Some examples (the "|" is the cursor position):
>
>
>   /** foo! */
>   public void foo() { int a = 1; }
>
>   /** bar! */
>   public void b|ar() { int b = 2; }
>
>   /** baz! */
>   public void baz() { int c = 3; }
>
>-->
>
>   /** foo! */
>   public void foo() { int a = 1; }
>
>   /** baz! */
>   public void baz() { int c = 3; }
>
>- - - - -
>
>   String s = fo|o( bar( 30 ) );
>
>-->
>
>   String s = bar( 30 );
>
>- - - - -
>
>   tr|y {
>     foo( 30 );
>   } catch ( Exception e ) {
>     bar( 40 );
>   }
>
>-->
>
>   foo( 30 );
>
>- - - - -
>
>   try {
>     foo( 30 );
>   } catch ( NullPointe|rException e ) {
>     bar( 40 );
>   } catch ( ArrayIndexOutOfBoundsException ee ) {
>     baz( 50 );
>   }
>
>-->
>
>   try {
>     foo( 30 );
>   } catch ( ArrayIndexOutOfBoundsException ee ) {
>     baz( 50 );
>   }
>
>- - - - -
>
>   switch ( a ) {
>     case 1:
>       foo();
>       break;
>     cas|e 2:
>       bar();
>       break;
>     default:
>       baz();
>   }
>
>-->
>
>   switch ( a ) {
>     case 1:
>       foo();
>       break;
>     default:
>       baz();
>   }
>
>
>_______________________________________________
>Eap-features mailing list
>[EMAIL PROTECTED]
>http://www.intellij.com/mailman/listinfo/eap-features


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to