[rkward-tracker] [ rkward-Bugs-3453725 ] Completion list doesn't work in the console
SourceForge.net
noreply at sourceforge.net
Mon Dec 19 13:50:45 UTC 2011
Bugs item #3453725, was opened at 2011-12-07 09:03
Message generated for change (Comment added) made by m-eik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3453725&group_id=50231
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Milan Bouchet-Valat (nalimilan)
Assigned to: Thomas Friedrichsmeier (tfry)
Summary: Completion list doesn't work in the console
Initial Comment:
A completion list is shown when you start typing object names in the R console. But there's absolutely no way of selecting an item. I can understand Return can't work for this, since it has already another meaning. Clicking with the mouse wouldn't be very efficient anyway, but if even this doesn't work, I don't see a reason to show this, as it is more frustrating than anything else.
----------------------------------------------------------------------
>Comment By: m.eik (m-eik)
Date: 2011-12-19 05:50
Message:
well, i do sense a slight disturbance in the force. since the change, data
object completion gets mixed up with all kinds of text that was written
before. try this:
> foobar
# you'll get an error, but now:
> test.foo
# once you've typed "foo" here you're offered a completion to "foobar"
for the console i'd rather have the completion stick to objects which are
actually in existance. otherwise, if you make a mistake while typing, it
can haunt you by reappearing in the completion list. allthough an argument
completion for functions would be a hit!
----------------------------------------------------------------------
Comment By: Milan Bouchet-Valat (nalimilan)
Date: 2011-12-14 06:40
Message:
Something still feels weird: when there are several choices in the list,
you can't select another one than the first, because the up/down arrows
don't work (since they're used for the command history). Not sure something
can be done about that, but at least only one choice should be shown then.
----------------------------------------------------------------------
Comment By: Milan Bouchet-Valat (nalimilan)
Date: 2011-12-14 03:12
Message:
I've just tried it, and indeed it doesn't seem to disturb much. And it's
generally good that both completion lists behave the same. Thanks!
----------------------------------------------------------------------
Comment By: Thomas Friedrichsmeier (tfry)
Date: 2011-12-07 10:40
Message:
Hi!
Thanks for pointing out all those issues. Over time, I've become blind to
much of this.
Anyway, thinking about this, perhaps Return *can* work for this, after all,
and I have committed a corresponding (experimental) change. Perhaps you
want to give this a try (in the development version / tomorrows' daily
build). My impression so far is that it does not really get into the way
too much.
In fact, I'm considering to make code completion in the R Console look
exactly like in the script editor (I would add a configuration option to
control, whether completion options are shown automatically, or only on
Tab-key presses). That would obsolete a couple of quirks in the current
solution, and probably even remove some code complexity.
What do you think?
Regards
Thomas
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3453725&group_id=50231
More information about the rkward-tracker
mailing list