issue with completion for S4 objects

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Tue Jan 22 11:38:33 GMT 2019


Hi!

On Thu, 10 Jan 2019 14:37:25 +0100
meik michalke <meik.michalke at uni-duesseldorf.de> wrote:
> i noticed a difference bewteen the completion features of RKWard's R
> console and the script editor. the console is capable completing
> 
>  object at slot[["element"]]
> 
> using tabs, whereas in the code hinting of the scrip editor, as soon
> as you type "object@", you are only offered
> 
>  object[["SLOTS"]][["slot"]][["element"]]
> 
> which returns NULL. is this our doing or is someone else to blame?

Ok, this one should be fixed, now. I also worked on some further
details of the completion. Importantly:

- Object matches and "Auto Word Completion" matches are now grouped,
  visibly.
- You can configure some aspects of the object name completion, e.g.
  using "$" as list access operator. For the moment this is in the
  script editor, only, but I do plan to do the same for the console,
  after your feedback. Any other settings that would make sense to you?

Should the completion in the console be changed to use the same pop-up
as in the script editor? In addition to / as a replacement for the
text-based tab-completion behavior?

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20190122/25a5202c/attachment.sig>


More information about the rkward-devel mailing list