5 ms·
I started using Emacs a few months ago and I love it. I think I'd struggle day to day now without Org Mode. I love how easily I can switch from something in Or
by LandR 8y ago
I started using Emacs a few months ago and I love it.
I think I'd struggle day to day now without Org Mode. I love how easily I can switch from something in Org Mode to something like a Clojure REPL, then to a Powershell window and to a text editor.
If I can just get it doing C# editing / compiling I'd be very happy.
- kqr 8y agoI started working in a .NET shop a few months ago and have finally sorta-kinda gotten my Emacs configured the way I want to in terms of C#. If there are any specifics you need help with, shoot me an email or something!
- cpfohl 8y agoWould you post a gist of your config?
- kqr 8y agoThe entire thing is up on https://github.com/kqr/.emacs.d/blob/master/init.el https://github.com/kqr/.emacs.d/blob/master/init.el . One would think modularity is not a word in my dictionary, though...
- na85 8y agoHave you ever managed to get intellisense working for c#? I try every few months with junk like Roslyn but it never seems to work. It just silently fails to do anything at all.
- kqr 8y agoThat was tricky to get working well, and for a while I hobbled along with gtags... but I do have it working now. And it wasn't that complicated, I was just missing an embarrassing piece of the puzzle. But yes, basically (require 'csharp-mode) (require 'omnisharp) (setq omnisharp-expected-server-version "1.32.8") (add-hook 'csharp-mode-hook 'omnisharp-mode t) Then omnisharp should be able to install and start a Roslyn server on its own with the corresponding commands. The annoying issue that at first prevented this from working was that on OS X I also needed (require 'exec-path-from-shell) (exec-path-from-shell-initialize) But figuring this stuff out was only a matter of reading the omnisharp-log buffer and guessing what the errors may be caused by.
- Tcepsa 8y agoOne additional thing I've found that I needed (in Windows) is (setq omnisharp-server-executable-path "C:\\path\\to\\OmniSharp.exe") So it can actually start the OmniSharp server (EDIT: Possibly because I haven't installed OmniSharp so much as just unzip it)