-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme.txt
44 lines (25 loc) · 1.06 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Created Mon, 24 May 2010 17:21
Updated Fri, 13 May 2011 13:02
x-URL: http://code.google.com/p/csharpmode/
This is the readme for csharp-mode.
=======================================================
You can use csharp-mode just as it is. To do so,
put this in your .emacs:
(autoload 'csharp-mode "csharp-mode" "Major mode for editing C# code." t)
or:
(require 'csharp-mode)
AND:
(setq auto-mode-alist
(append '(("\\.cs$" . csharp-mode)) auto-mode-alist))
(defun my-csharp-mode-fn ()
"function that runs when csharp-mode is initialized for a buffer."
...insert your code here...
...most commonly, your custom key bindings ...
)
(add-hook 'csharp-mode-hook 'my-csharp-mode-fn t)
=======================================================
The c# code completion is experimental. It depends on
ICSharpCode.NRefactory.dll, as well as powershell.el and
a few other .el modules.
Use it and let me know how it goes for you.
=======================================================