auto complete in codemirror (csharp language)


#1

Hi
Sorry, My English Is Poor…
I Use CodeMirror with csharp language.(clike Mode).
How to Use AutoCompletion?
I Have show-hint.js, javascript-hint.js, html-hint.js, …
Is There csharp-hint.js? I did not find it. please help me…
Thank you


#2

Pre requisite is of course basic knowledge of Javascript programming. But first take your time to read the manual and take a look at the autocomplete demo and browse through this forum.

Use/include clike mode (see sourcecode/mode/clike/clike.js) with mime-type text/x-csharp (C#)
See C like demo http://codemirror.net/mode/clike/index.html
Check the source code of it and change the mode of it:

  var cEditor = CodeMirror.fromTextArea(document.getElementById("c-code"), {
    lineNumbers: true,
    matchBrackets: true,
    mode: "text/x-csrc"
  });