;-)
On windows it is a very unintuitive key map : ALT-I. On unix it is a lot
better Alt-Tab.
We could use Ctrl-Tab. Or have reindent current line mapped to Ctrl-Tab.
However I believe Tab inside the leading space should indent correctly in
one keystroke.
BTW I forgot that emacs also removes any extra leading space, properly
indent and move the cursor to the current indentation level which is even
nicer:
...for () {
..|.........
...}
Tab
...for() {
......|
...}
"Eugene Belyaev" <[EMAIL PROTECTED]> wrote in message
aj8i5h$nat$[EMAIL PROTECTED]">news:aj8i5h$nat$[EMAIL PROTECTED]...
> How do you enter tabs in the middle of the line in Emacs?
>
> Eugene
>
>
> "Jacques Morel" <[EMAIL PROTECTED]> wrote in message
> aj8i24$n72$[EMAIL PROTECTED]">news:aj8i24$n72$[EMAIL PROTECTED]...
> > I got myself confused between Ctrl-Alt-L and Ctrl-Alt-I.
> > However when you are working on one line (maybe I copy-pasted something
> and
> > it isn't indented right, or I clicked on an empty line and the cursor is
> not
> > at the right indentation level) I think my first reaction is to use tab
to
> > indent the line correctly (in the first scenario I would have to go
first
> to
> > the first word beginning).
> > I am suggesting that Tab could indent the current line properly in one
> > keystroke just like Ctrl-Alt-I but keep the current caret position. I
> think
> > it would be a nice addition to the current SmartTabs. People that do not
> use
> > tab could use this as well (like me).
> > Emacs offers this. Pressing tab in a word or inside the leading
> indentation
> > space will indent properly the line.
> >
> > Jacques
> >
> > "Thomas Singer" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > In addition Ctrl-Alt-I move the cursor to the next line (I wonder
why.
> > Might be a bug).
> > >
> > > No, it's a feature: so you are able to easily indent a couple of lines
> > > by pressing Ctrl-Alt-I again and again.
> > >
> > > Tom
> > >
> > >
> > > On Mon, 12 Aug 2002 09:08:24 -0500, "Jacques Morel"
> > > <[EMAIL PROTECTED]> wrote:
> > >
> > > > I just want the current line, not the entire file. In addition
> > Ctrl-Alt-I
> > > > move the cursor to the next line (I wonder why. Might be a bug).
> > > > Finally I believe tab is very intuitive key to indent a line to its
> > proper
> > > > level don't you think?
> > > >
> > > > Jacques
> > > > "Eugene Belyaev" <[EMAIL PROTECTED]> wrote in message
> > > > aj8cp6$gqu$[EMAIL PROTECTED]">news:aj8cp6$gqu$[EMAIL PROTECTED]...
> > > > > Doesn't Ctrl-Alt-I (Code | Auto-indent Lines) do what you need?
> > > > >
> > > > > Eugene
> > > > >
> > > > > "Jacques Morel" <[EMAIL PROTECTED]> wrote in message
> > > > > aj1dr5$un3$[EMAIL PROTECTED]">news:aj1dr5$un3$[EMAIL PROTECTED]...
> > > > > > I got all excited about it believing it was going to let me
indent
> > my
> > > > line
> > > > > > automatically by hitting tab like emacs does. What a bummer it
> was.
> > > > > > I really would like a Smart Tab feature that would allow me to
> > indent
> > > > the
> > > > > > current line at the correct level just by pressing TAB anywhere
in
> > the
> > > > > line.
> > > > > >
> > > > > > Will it do that at some point?
> > > > > >
> > > > > > BTW If you do this make sure to make it work even when you do
not
> > use
> > > > tab.
> > > > > >
> > > > > > Jacques
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>
>
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features