Guillaume Laforge wrote:
> 1) Sometimes when I'm writing line comments ( // ) in my code, I often wish
> to cut the lines into several lines. But each time I cut a line (hitting the
> enter key), the end of the line goes to the new line but I have to go to the
> beginning of this new line to add the double /.
> Could it be possible to automatically add the // on the new line each time I
> split a line ?
+1 (just like hitting enter inside a /* */ comment adds another star in
the left margin).
I'd also love to have a way to re-format comment paragraphs to the
correct right margin (like meta-q in Emacs). It's quite tedious when I
have to redo the line breaks by hand when I insert or remove something
in a comment, so often I just leave them the way they are.
> 3) And finally, a suggestion for what I call an "auto-cast" feature. Lately,
> I often find myself working with some collections of objects. And I write
> methods to get some of the objects stored in these collections. And
> everytime, I have to cast what I get from the collection to the right class.
> My suggestion would be to automatically suggest (with the little bright
> lamp) a cast. That's why I call that auto-cast.
I haven't decided whether I like this feature or not. You can already
avoid most of the typing by using SmartType to fill in the correct
return type:
return (<ctrl-shift-tab> <whatever>
But maybe this is something that happens often enough to warrant an
intention action. I don't know.
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features