@finos/legend-code-editor

Legend code editor support built for monaco-editor.

Enumerations

CODE_EDITOR_LANGUAGE
CODE_EDITOR_THEME
PURE_GRAMMAR_TOKEN

Interfaces

ElementEmbeddedContentSnippetSuggestion
PureGrammarTextSuggestion

Type Aliases

CodeEditorPosition

Variables

DEFAULT_DARK_THEME
GITHUB_DARK_DIMMED_THEME
GITHUB_DARK_THEME
GITHUB_LIGHT_THEME
MATERIAL_DARKER_THEME
MATERIAL_DEFAULT_THEME
ONE_DARK_PRO_DARKER_THEME
ONE_DARK_PRO_THEME
PURE_CODE_EDITOR_WORD_SEPARATORS
SOLARIZED_DARK_THEME

Functions

clearMarkers
configureCodeEditor
getBaseCodeEditorOptions
getCodeEditorValue
getInlineSnippetSuggestions
getParserElementSnippetSuggestions
getParserKeywordSuggestions
getSectionParserNameFromLineText
isTokenOneOf
moveCursorToPosition
normalizeLineEnding
resetLineNumberGutterWidth
setErrorMarkers
setupPureLanguageService
setWarningMarkers