UNPKG

webgme-codeeditor

Version:

Code Editor Visualizer for webgme using CodeMirror

58 lines (57 loc) 1.76 kB
{ "CodeEditor": { "theme": "default", "enableThemeSelection": true, "keyBinding": "sublime", "enableKeybindingSelection": true, "lineWrapping": false, "enableLineWrappingToggle": true, "autoSaveInterval": "2000", "defaultSyntax": "gfm", "rootTypes": ["Project"], "excludeTypes": ["ExcludeType"], "loadDepth": -1, "syntaxToModeMap": { "gfm": {"name":"gfm", "icon": "glyphicon glyphicon-file"}, "C++": {"name":"text/x-c++src", "useCPP": true}, "JSON": {"name":"application/json"}, "Python": {"name":"text/x-python"} }, "attrToSyntaxMap": { "Project": {}, "CodeObject": { "Markdown": "gfm", "C++": "C++", "JSON": "JSON", "Python": "Python" } }, "defaultAttributeMap": { "Project": null, "CodeObject": "C++" }, "attrToInfoMap": { "Project": {}, "CodeObject": { "docstring": [ "## CodeObject Documentation", "this is some documentation for the code object itself.", "", "it will be appended to the documentation for all of CodeObject's attributes." ], "attributes": { "Markdown": [ "## Markdown Code Attribute", "This code attribute should be formatted with [Markdown](https://en.wikipedia.org/wiki/Markdown)" ], "C++": "## C++ Code Attrubute\nThis is c++ code.\n NOTICE HOW YOU CAN USE EMBEDDED NEWLINES OR ARRAYS", "JSON": "Simple doc string here.", "Python": "Useless doc string." } } }, "nameTemplateMap": { "CodeObject": "CodeObject:{{{name}}}" } } }