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

Ryan bugzilla_noreply at kde.org
Thu Jan 6 04:00:39 GMT 2022


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

--- Comment #2 from Ryan <jryan.daniels at gmail.com> ---
Hello Thomas

Thank you for the super quick response!
I had a look as well and it seems do-able. I have filed a feature request
with Sendcode.

I can see possible complication that might change the process for Sendcode
on wayland:
- using ydotool instead of xdotool
- the change in clipboard management utils on wayland
- granting privileges to GUIs on sway

Unfortunately I have just moved everything from x to wayland and I am still
putting out all the fires that come with that to get my desktop in working
order so I don't want to be too adventurous with new projects.
For the time being I can use the terminal and sublime text.

*Best Wishes*
Ryan Daniels



On Wed, 5 Jan 2022 at 03:23, Thomas Friedrichsmeier <
bugzilla_noreply at kde.org> wrote:

> 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 reported the bug.

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


More information about the rkward-devel mailing list