Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [csharp-mode]

The tag has no usage guidance.

0
votes
0answers
5 views

A way to run OmniSharp server with Mono on Windows for Emacs omnisharp-mode?

I'm trying to run OmniSharp Server for the Emacs' omnisharp-mode on my Windows 7. The OmniSharp versions around 1.30 require .NET-4.6 or higher. On my Windows there are only .NET 3.0 and 3.5 which are ...
0
votes
1answer
35 views

emacs hangs when loading csharp (.cs) file

Just upgraded to emacs 26.1 from 25.3 on windows (emacs-version = GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30). I downloaded the latest version of csharp-mode from melpa. Now when I'm ...
0
votes
1answer
277 views

How to fix incorrect emacs C#-mode indentation for method braces

My problem is that Emacs incorrectly indents the braces for C# methods, like this: static string LOL() { } then I have to manually correct it to static string LOL() { } I have read ...
1
vote
0answers
485 views

setting csharp mode indentation to 2 spaces

Complete emacs/lisp newbie trying to switch from vim. I noticed that emacs indents C# files to 4 spaces, which is normally great, but I'm working on a project that requires 2 space indentation. I've ...
1
vote
1answer
34 views

CSharp files modified on open

When I open files that default to csharp-mode, they always start modified. This is only occurring for csharp-mode. save-buffers-kill-emacs with the d option (view changes in this buffer) shows ...
0
votes
0answers
483 views

How do I prevent indentation of braces in function arguments with csharp-mode

I'm new to customizing Emacs, and I'm struggling to get csharp-mode's indentation to match Visual Studio's defaults (which my coworkers use). I'm starting from the defaults of the Spacemacs csharp ...
1
vote
1answer
120 views

Diagnose laggy typing in csharp-mode

At the weekend I wiped my dotfiles and replaced them with prelude. I do most of my work in C#, so I've got csharp-mode installed. Typing in c# is laggy, in a painful bursty way. A few words come out ...
1
vote
0answers
203 views

Omnisharp not making helm integrations available

As a c# coder and emacs user, I've been playing with omnisharp (https://github.com/OmniSharp/omnisharp-emacs). It mostly seems to be working - following the instructions on that page I got company ...