[rkward] [Bug 447957] Sendcode integration on sublime text

Thomas Friedrichsmeier bugzilla_noreply at kde.org
Wed Jan 5 09:23:35 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=447957

Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thomas.friedrichsmeier at kdem
                   |                            |ail.net

--- Comment #1 from Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net> ---
I am not familiar with sublime text / sendcode (*), but had look at some of the
documentation just now. It seems sendcode needs specific instructions for each
program it has to deal with, even though, at least on linux, most programs
could really be treated alike.

After a cursory look, it appears you'll essentially have to duplicate this part
(wherever that gets installed):
https://github.com/randy3k/SendCode/blob/master/code_sender/rstudio/__init__.py

At least for linux, no special adjustments should be needed, here. You might
want to send "Alt+1", then "Alt+5" before "Ctrl+V" to make sure the R Console
window is active inside RKWard.

Apparently, you'll also have to add a few lines, here:
https://github.com/randy3k/SendCode/blob/master/code_sender/sender.py
again taking the lines for rstudio as a template.

If that works for you, consider contributing it to sendcode. I am not sure,
whether anything special is needed to support sendcode to RKWard on Windows/OS
X, but at least for linux, it's the support inside sendcode, not inside RKWard
that is missing.

---

(*) Consider giving the integrated editor a try. It's based on kate(part),
which provides a really powerful text editing component.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the rkward-devel mailing list