3 ms·
> One thing I really like is that the Windows version of CLion will use SSH to connect into your WSL installation and use the Linux toolchain. So you can develo
by alexhutcheson 6y ago
> One thing I really like is that the Windows version of CLion will use SSH to connect into your WSL installation and use the Linux toolchain. So you can develop both Linux and Windows applications using the CLion GUI IDE on Windows, it's quite seamless.
Tramp[1] does this for Emacs. You can run Windows GUI Emacs and use SSH or another protocol to edit files and run commands within the WSL installation. It's pretty seamless.
[1] https://www.gnu.org/software/emacs/manual/html_node/tramp/index.html https://www.gnu.org/software/emacs/manual/html_node/tramp/in...
- cmrdporcupine 6y agothat's awesome! thanks
- alexhutcheson 6y agoThe one (big) caveat is that some Emacs commands that start subprocesses will incorrectly try to start the process in your local environment (in this case, on the Windows side), rather than the remote environment (within the WSL VM). This mainly occurs when elisp functions are implemented using call-process or make-process when they should use process-file[1] or start-file-process[2]. This isn't an issue for most code within Emacs itself, but it pops up occasionally when using packages from ELPA or MELPA. [1] https://www.gnu.org/software/emacs/manual/html_mono/elisp.html#Synchronous-Processes https://www.gnu.org/software/emacs/manual/html_mono/elisp.ht... [2] https://www.gnu.org/software/emacs/manual/html_mono/elisp.html#Asynchronous-Processes https://www.gnu.org/software/emacs/manual/html_mono/elisp.ht...