Then let's make it smart enough to detect array assignments ;-)

>It's not unambiguous:
>
>String[] stringArray = { "string1", "string2" };
>
>I would not want that to jump to the next line an display something like:
>
>String[] stringArray = 
>{
> "string1", "string2" 
>};

>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.

________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13



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

Reply via email to