Script Eclipse to open a file in emacs

Is it possible to use an Eclipse script so that I can quickly open the source file opened in Eclipse using emacs (or emacsclient)?

+3
source share
2 answers

Go to "Window Settings", then select "General" / "Editor" / "Files". Add the emacsclientw association to. * Java. You can use "Open With Emacsclient" from the Navigator or Package Explorer.

Not so fast, but better than nothing.

+4
source

I do not like the decision to merge files with Oleg, because then eclipse will try to open the file in Emacs the next time it is opened in the package explorer.

script, emacsclient .

script ~/bin/openInEmacs.sh :

#!/bin/bash
emacsclient --quiet --no-wait "$@"
wmctrl -a emacs

, emacs emacsclient eclipse.

. . emacsclient. : ~/bin/openInEmacs.sh, ${container_loc} ${selected_resource_loc}

" ". .

, emacsclient .

+2

Source: https://habr.com/ru/post/1785814/


All Articles