Hello,

I like the thought about a general "Close-key", that closes the current 
opened statement. It's simpler to explain on an example:

   boolean method1(int value, String text) {
      /*something*/
   }

   void method2() {
      int result = method1(10|


Pressing the "Close-key" detects, that I want to finish the first method 
parameter and completes to:

   void method2() {
      int result = method1(10, |

The string I get from another method call:

   void method2() {
      int result = method1(10, getValue(|

Pressing the "Close-key" closes the last opened brace:

   void method2() {
      int result = method1(10, getValue()|

Pressing the "Close-key" closes the outer method call, because it detects, 
that method1 only has 2 parameters:

   void method2() {
      int result = method1(10, getValue())|

I do not want to change the method1's result value. Pressing the 
"Close-key" adds the semicolon and jumps to the new line:

   void method2() {
      int result = method1(10, getValue());
      |

And so on. Even in much more difficult expressions (e.g. a if statement 
with a lot of braces) it would be very easy to complete the statement in 
the right way.

Best regards,
Thomas Singer






At 09:24 15.01.02 +0100, you wrote:
> >I guess what I'm saying is that I'd like to not have to press an
> >"extra key" (be it tab or enter), since typing the open-brace (outside
> >of a comment, in a java file) is unambiguous in and of itself.
>
>that seems to be right, typing the brace is enough.
>I think of another feature:
>when caret is on a closing brace, typing something like ctrl-down,
>could move the brace down, and the line of code below inside the braces.
>
>and sth. like ctr-delete could delete the brace where the caret
>is on, and the matching closing/opening brace, too.
>this would be the opposite of "surround with {}"
>
>regards,
>Michael
>
>
> >I guess I'd like an option so that when I type an open brace, it's
> >properly positioned, and the cursor is
> >properly positioned for the next character.  Ditto the closing brace.  That
> >way I don't have to create live templates or anything else,
> >it "just works". And I also don't have to worry about "stepping over"
> >the closing brace that a live template inserts...
> >I just type the code as I go.  I guess that's
> >just what I'm used to.
>
> >And as for "Alt-Left/Right", maybe it's just me (or my keyboard),
> >but that's a real finger-twister, requiring my hands come completely
> >off home row.  I'd like to map this to Ctrl-Tab/Shift-Ctrl-Tab,
> > but at this time cannot.  Also, I'm thankful for others mentioning
> >Ctrl-E, which gives me the thing I was
> >asking for ("go back to the file I was just in"), because Alt-Left/Right
> >can't do that the way I wish it would.  At the very least, can you make
> >Ctrl-Tab/Ctrl-Shift-Tab mappable?
> >
> >Thanks for the information!
>
>-----Original Message-----
>From: "Valentin Kipiatkov" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Re: [Eap-features] List of requested editor features
>Date: Thu, 10 Jan 2002 23:25:54 +0300
>charset="iso-8859-1"
>Reply-To: [EMAIL PROTECTED]
>
> > 1) Text formatting as I type.
>
>In the current version, there is a live template for doing that. Type
>
>if (x) {
>
>and press Tab (or other key depending on the settings). This will expand to
>
>if (a) {
>   <caret>
>}
>
>(or other layout, depending on your code style settings).
>
>In Ariadna, we managed to drop this template by doing this by the Enter key.
>
> > 2) Auto-generation of javadoc comments
>
>Planned for Ariadna.
>
> > 3) Sync project view with current file/class
>
>Alt-F1
>
> >
> > 4) Cycling through open files
>
>Alt-Left/Right
>Try also other useful shortcuts mentiones by other people.
>
> > 5) Drag and Drop text editing.
>
>______________________________________________________________________________
>Darf es ein bisschen mehr sein? Mehr Speicher, mehr Mail, mehr Erlebnis,
>mehr Pr�mie, mehr WEB.DE.  Der WEB.DE Club - http://club.web.de
>
>
>_______________________________________________
>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