C# for Emacs 0.8.3

csharp-mode is a derived mode for cc-mode 5.30.x or higher that implements the font-locking and indention rules for C#.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!

What's new in C# for Emacs 0.8.3:

  • You can now navigate through C# modules via the emacs imenu tool, allowing you to easily jump to methods, classes, properties, etc. fxcopcmd.exe can now be used as a flymake tool, and error messages are properly displayed.
Read full changelog
send us
an update
GPL (GNU General Public License) 
2.3/5 22
D. Moonfire
ROOT \ Text Editing&Processing \ Emacs
C# for Emacs is a derived mode implementing most of the C# rules.

After a good number of years, we noticed that there wasn't a "non-patched" version of a csharp-mode for Emacs.

There were a few, but most of them had comments that they were "in progress" or "about to merge", but then we noticed that those notices were there even after a couple of months.

Then, we saw a request for a csharp-mode on the cc-mode Emacs site, so we decided to follow the rules and create one that required no patching or modification to the core cc-mode engine (which is a good thing). So, this is the C# mode.
There was a 0.3.0 version, but it broke things more than it fixed, so we pulled it.


· CC Mode (5.30.x)


Once cc-mode 5.30.x is installed, the installation of csharp-mode is actually very easy. The simplest way is to put csharp-mode.el into the same directory as the cc-mode. A more appropriate method is to put it into a shared lisp directory and refer to that in the appropriate configuration file.

bash$ mkdir -p $HOME/share/elisp
bash$ cp csharp-mode.el $HOME/share/elisp

Once you have placed the csharp-mode.el file in the appropriate place, you need to tell your Emacs installation how to find the new file.

What's New in This Release:

· This release adds autoload tags for automated processing.
· It expands #region and #endregion font locking to the entire line to hide internal keyword highlighting.
· It adds font locking for get, set, add, and remove.

Last updated on May 19th, 2011

#C# Emacs #derived mode #C# rules #C# #Emacs #derived #mode

Add your review!