elizagamedev / rider2emacs

Translates JetBrains Rider invocations to emacsclient invocations (for Unity)
18 stars 2 forks source link

Can't open new windows with daemon service up #1

Open magicaldave opened 1 year ago

magicaldave commented 1 year ago

Hi! I've recently started on the Unity editor and set up rider2emacs on my system. I noticed after following the emacs wiki's guide on how to set up the daemon, it works excellently outside of Unity, but it will not open files within emacs unless a window is already open. I did get it working by invoking server-start in my init file but this has an obvious consequence. I did some testing and edited the main.rs to instead call emacsclient -a emacs which appears to work, but doesn't rely on the service daemon, so it has to go through the entire startup process. I'd like to be able to hook into the daemon, though, to minimize startup times. I use spacemacs which has a very lengthy init process. Will attempt to learn more about how to locate the emacs socket and possibly post a PR for it once I discover a true solution.