Autocomplete for Python in Codemirror? -


I am trying to set up an autocomplete feature for the Python language for Codemirror. Unfortunately, it seems that the codemirrar only contains the files needed to complete the Javascript key word.

Has anyone made the Python gesture file for CodeMirror?

(Edit for future reference :)

I python autocomplete Starting with jod on pod-signal from codemirror 3.

You can get python-hint.js .

Hint.js , simple-hint.css plus codemirror.js

  • Add this script:

      & lt; Script & gt; CodeMirror.commands.autocomplete = function (cm) {CodeMirror.simpleHint (cm, CodeMirror.pythonHint); } & Lt; / Script & gt;     

    Python-hit JS is a basic JS I made today and did not review it in depth.

  • Comments