CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/frontend/codemirror/addons.js
Views: 687
1
require("codemirror/addon/mode/overlay.js");
2
require("codemirror/addon/selection/active-line.js");
3
require("codemirror/addon/comment/comment.js");
4
5
require("codemirror/addon/dialog/dialog.js");
6
require("codemirror/addon/dialog/dialog.css");
7
8
require("codemirror/addon/display/placeholder.js");
9
10
require("codemirror/addon/search/searchcursor.js");
11
require("codemirror/addon/search/jump-to-line.js");
12
require("codemirror/addon/search/matchesonscrollbar.js");
13
14
require("codemirror/addon/edit/matchbrackets.js");
15
require("codemirror/addon/edit/closebrackets.js");
16
require("codemirror/addon/edit/trailingspace.js");
17
require("codemirror/addon/edit/continuelist.js");
18
require("codemirror/addon/edit/matchtags.js");
19
require("codemirror/addon/edit/closetag.js");
20
require("codemirror/addon/wrap/hardwrap.js");
21
require("codemirror/addon/runmode/runmode.js");
22
require("codemirror/addon/fold/brace-fold.js");
23
require("codemirror/addon/fold/foldcode.js");
24
require("codemirror/addon/fold/foldgutter.js");
25
require("codemirror/addon/fold/foldgutter.css");
26
27
require("codemirror/addon/fold/markdown-fold.js");
28
require("codemirror/addon/fold/comment-fold.js");
29
require("codemirror/addon/fold/indent-fold.js");
30
require("codemirror/addon/fold/xml-fold.js");
31
require("codemirror/addon/hint/anyword-hint.js");
32
require("codemirror/addon/hint/css-hint.js");
33
require("codemirror/addon/hint/html-hint.js");
34
require("codemirror/addon/hint/javascript-hint.js");
35
36
require("codemirror/addon/hint/show-hint.js");
37
38
require("codemirror/addon/hint/sql-hint.js");
39
require("codemirror/addon/hint/xml-hint.js");
40
41
// For some reason python-hint.js got removed from codemirror itself
42
require("./addon/hint/python-hint.js");
43
44
require("./addon/smc-search.js");
45
//require('codemirror/addon/search/search.js')
46
47
// Various extentions that I wrote since I needed them to implement CoCalc
48
require("./addon/delete-trailing-whitespace");
49
require("./addon/fill-paragraph");
50
51
52