Added Emacs Tips Documentation
This PR adds some light documentation on how to develop inside a Coder instance using the Emacs editor. It documents what I learned using Coder in Emacs for a few weeks.
Specifically:
- Methods used to connect Emacs to the Coder workspace instance
- Configuration you need to set in Emacs
- Coder workspace setup so workspace instances play nice with Emacs
@code-asher could you give this a review?
Thanks for the contribution! I just pushed some code that will add the page to our side menu.
Thanks :)
I really like the wording you came up with, thanks again!
I'll make sure the new page lays out correctly and handle the merge. Thank you for the contribution @Mainstay-Noah-Huppert.
I finally got code completion working in Emacs on Coder so I added some additional notes. I will leave it up to y'all for coordinating additional PR reviews.
@Mainstay-Noah-Huppert please git apply patch.txt and then we can merge.
I have not tried lsp-mode but surface level the new additions look good to me. We could also add a reference to eglot as an alternative which for me worked out of the box for (requires Emacs 27.1 or later and one downside is that dap-mode does not support eglot so if you need debugging with eglot you have to do it on the command line).
eglot
👀 Hey I gotta say lsp-mode certainly doesn't work out of the box and I've had lots of trouble getting anything to work. So maybe I'll give it a shot!
I have not tried
lsp-modebut surface level the new additions look good to me. We could also add a reference toeglotas an alternative which for me worked out of the box for (requires Emacs 27.1 or later and one downside is thatdap-modedoes not supporteglotso if you need debugging witheglotyou have to do it on the command line).
https://github.com/joaotavora/eglot/discussions/1005
I'm having a little less luck getting Eglot to run over TRAMP, but locally it works like a charm!
@Mainstay-Noah-Huppert please
git applypatch.txt and then we can merge.
@Noah-Huppert gentle reminder to apply that patch since the PR is beginning to accumulate conflicts and I want to get it in ASAP.
@Mainstay-Noah-Huppert please
git applypatch.txt and then we can merge.@Noah-Huppert gentle reminder to apply that patch since the PR is beginning to accumulate conflicts and I want to get it in ASAP.
Thanks for the reminder, done
@Noah-Huppert now resolve the conflicts plz :)