Interface: Config
Hierarchy
↳
Config
Properties
activeEditor
• activeEditor: undefined | EditorId
Inherited from
Defined in
allowLangChange
• allowLangChange: boolean
Inherited from
Defined in
autosave
• autosave: boolean
Inherited from
Defined in
autotest
• autotest: boolean
Inherited from
Defined in
autoupdate
• autoupdate: boolean
Inherited from
Defined in
closeBrackets
• closeBrackets: boolean
Inherited from
Defined in
cssPreset
• cssPreset: CssPresetId
Inherited from
Defined in
customSettings
• customSettings: Partial<{ Binary: any ; C: any ; adoc: any ; art: any ; art-template: any ; as: any ; asc: any ; asciidoc: any ; assemblyscript: any ; astro: any ; autoprefixer: any ; babel: any ; bb: any ; bbcode: any ; blockly: any ; blockly.xml: any ; c: any ; c++: any ; civet: any ; clang: any ; clang.cpp: any ; clio: any ; clj: any ; cljc: any ; cljs: any ; clojure: any ; clojurescript: any ; coffee: any ; coffeescript: any ; common-lisp: any ; commonlisp: any ; cp: any ; cpp: any ; cpp-wasm: any ; cppm: any ; cppwasm: any ; csharp: any ; css: any ; cssmodules: any ; cssnano: any ; cwasm: any ; cxx: any ; diagram: any ; diagrams: any ; dot: any ; edn: any ; ejs: any ; es: any ; eta: any ; fennel: any ; flow: any ; fnl: any ; gleam: any ; go: any ; golang: any ; graph: any ; h: any ; haml: any ; handlebars: any ; hbs: any ; hpp: any ; htm: any ; html: any ; ii: any ; imba: any ; ixx: any ; jade: any ; javascript: any ; jl: any ; js: any ; json: any ; jsx: any ; julia: any ; less: any ; lightningcss: any ; liquid: any ; liquidjs: any ; lisp: any ; livescript: any ; ls: any ; lua: any ; lua-wasm: any ; luawasm: any ; malina: any ; malinajs: any ; markdown: any ; md: any ; mdown: any ; mdx: any ; mjml: any ; mkdn: any ; ml: any ; mli: any ; mustache: any ; njk: any ; nunjucks: any ; ocaml: any ; perl: any ; pg: any ; pg.sql: any ; pglite: any ; pglite.sql: any ; pgsql: any ; pgsql.sql: any ; php: any ; php-wasm: any ; phpwasm: any ; pintora: any ; pl: any ; plt: any ; pm: any ; postcss: any ; postcssImportUrl: any ; postcssPresetEnv: any ; postgre.sql: any ; postgres: any ; postgresql: any ; postgresql.sql: any ; prolog: any ; prolog.pl: any ; pug: any ; purgecss: any ; py: any ; py-wasm: any ; py3: any ; pyodide: any ; python: any ; python-wasm: any ; pythonwasm: any ; pywasm: any ; r: any ; r-wasm: any ; rb: any ; re: any ; react-native: any ; react-native-tsx: any ; react-native.jsx: any ; react-native.tsx: any ; reason: any ; rei: any ; res: any ; rescript: any ; resi: any ; rich: any ; richtext: any ; riot: any ; riotjs: any ; rlang: any ; rstats: any ; rte: any ; rte.html: any ; ruby: any ; ruby-wasm: any ; rubywasm: any ; sass: any ; scheme: any ; scm: any ; scss: any ; solid: any ; solid.jsx: any ; solid.tsx: any ; sql: any ; sqlite: any ; sqlite3: any ; stencil: any ; stencil.tsx: any ; styl: any ; stylis: any ; stylus: any ; sucrase: any ; svelte: any ; tailwindcss: any ; tcl: any ; teal: any ; tl: any ; tokencss: any ; ts: any ; tsx: any ; twig: any ; typescript: any ; unocss: any ; vue: any ; vue2: any ; vue3: any ; wasm: any ; wasm.cpp: any ; wasm.lua: any ; wasm.php: any ; wasm.py: any ; wasm.rb: any ; wast: any ; wat: any ; webassembly: any ; windicss: any ; xht: any ; xml: any } & { convertCommonjs: boolean ; defaultCDN: CDN ; imports: Record<string, string> ; mapImports: boolean ; scriptType: undefined | "" | "module" | "text/liquid" | "text/python" | "text/r" | "text/ruby-wasm" | "text/x-uniter-php" | "text/php-wasm" | "text/cpp" | "text/perl" | "text/julia" | "text/biwascheme" | "text/commonlisp" | "text/tcl" | "text/prolog" | "application/json" | "application/lua" | "text/fennel" | "application/wasm-uint8" | "application/javascript" | "application/ecmascript" | "text/javascript" | "text/ecmascript" ; template: { data?: any ; prerender?: boolean } ; types: Types }>
Inherited from
Defined in
delay
• delay: number
Inherited from
Defined in
description
• description: string
Inherited from
Defined in
editor
• editor: undefined | "monaco" | "codemirror" | "codejar"
Inherited from
Defined in
editorMode
• editorMode: undefined | "vim" | "emacs"
Inherited from
Defined in
editorTheme
• editorTheme: undefined | string | EditorTheme[]
Inherited from
Defined in
emmet
• emmet: boolean
Inherited from
Defined in
enableAI
• enableAI: boolean
Inherited from
Defined in
fontFamily
• fontFamily: undefined | string
Inherited from
Defined in
fontSize
• fontSize: undefined | number
Inherited from
Defined in
formatOnsave
• formatOnsave: boolean
Inherited from
Defined in
head
• head: string
Inherited from
Defined in
htmlAttrs
• htmlAttrs: string | Record<string, string>
Inherited from
Defined in
imports
• imports: Object
Index signature
▪ [key: string]: string
Inherited from
Defined in
languages
• languages: undefined | ("reason" | "stylus" | "r" | "html" | "ruby" | "rb" | "json" | "htm" | "markdown" | "md" | "mdown" | "mkdn" | "mdx" | "astro" | "pug" | "jade" | "haml" | "asciidoc" | "adoc" | "asc" | "mustache" | "handlebars" | "hbs" | "ejs" | "eta" | "nunjucks" | "njk" | "liquid" | "liquidjs" | "dot" | "twig" | "art-template" | "art" | "bbcode" | "bb" | "mjml" | "diagrams" | "diagram" | "graph" | "plt" | "richtext" | "rte" | "rich" | "rte.html" | "css" | "scss" | "sass" | "less" | "styl" | "stylis" | "postcss" | "javascript" | "js" | "babel" | "es" | "sucrase" | "typescript" | "flow" | "ts" | "jsx" | "tsx" | "react-native" | "react-native.jsx" | "react-native-tsx" | "react-native.tsx" | "vue" | "vue3" | "vue2" | "svelte" | "stencil" | "stencil.tsx" | "solid" | "solid.jsx" | "solid.tsx" | "riot" | "riotjs" | "malina" | "malinajs" | "xht" | "coffeescript" | "coffee" | "livescript" | "ls" | "civet" | "clio" | "imba" | "assemblyscript" | "as" | "python" | "py" | "pyodide" | "python-wasm" | "py-wasm" | "pythonwasm" | "pywasm" | "py3" | "wasm.py" | "rlang" | "rstats" | "r-wasm" | "ruby-wasm" | "wasm.rb" | "rubywasm" | "go" | "golang" | "php" | "php-wasm" | "phpwasm" | "wasm.php" | "cpp" | "c" | "C" | "cp" | "cxx" | "c++" | "cppm" | "ixx" | "ii" | "hpp" | "h" | "cpp-wasm" | "cppwasm" | "cwasm" | "wasm.cpp" | "clang" | "clang.cpp" | "perl" | "pl" | "pm" | "lua" | "lua-wasm" | "luawasm" | "wasm.lua" | "teal" | "tl" | "fennel" | "fnl" | "julia" | "jl" | "scheme" | "scm" | "commonlisp" | "common-lisp" | "lisp" | "clojurescript" | "clojure" | "cljs" | "clj" | "cljc" | "edn" | "gleam" | "rescript" | "res" | "resi" | "re" | "rei" | "ocaml" | "ml" | "mli" | "tcl" | "wat" | "wast" | "webassembly" | "wasm" | "Binary" | "csharp" | "sql" | "sqlite" | "sqlite3" | "pg.sql" | "pgsql.sql" | "pgsql" | "pg" | "pglite" | "pglite.sql" | "postgresql" | "postgres" | "postgre.sql" | "postgresql.sql" | "prolog.pl" | "prolog" | "blockly" | "blockly.xml" | "xml" | "pintora" | "tailwindcss" | "postcssImportUrl" | "windicss" | "unocss" | "tokencss" | "lightningcss" | "autoprefixer" | "postcssPresetEnv" | "cssmodules" | "purgecss" | "cssnano")[]
Inherited from
Defined in
layout
• layout: undefined | "responsive" | "horizontal" | "vertical"
Inherited from
Defined in
lineNumbers
• lineNumbers: boolean
Inherited from
Defined in
markup
• markup: Editor
Inherited from
Defined in
mode
• mode: "focus" | "full" | "result" | "editor" | "simple" | "codeblock"
Inherited from
Defined in
processors
• processors: Processor[]
Inherited from
Defined in
readonly
• readonly: boolean
Inherited from
Defined in
recoverUnsaved
• recoverUnsaved: boolean
Inherited from
Defined in
script
• script: Editor
Inherited from
Defined in
scripts
• scripts: string[]
Inherited from
Defined in
semicolons
• semicolons: boolean
Inherited from
Defined in
showSpacing
• showSpacing: boolean
Inherited from
Defined in
singleQuote
• singleQuote: boolean
Inherited from
Defined in
style
• style: Editor
Inherited from
Defined in
stylesheets
• stylesheets: string[]
Inherited from
Defined in
tabSize
• tabSize: number
Inherited from
Defined in
tags
• tags: string[]
Inherited from
Defined in
tests
• tests: undefined | Partial<Editor>
Inherited from
Defined in
theme
• theme: Theme
Inherited from
Defined in
title
• title: string
Inherited from
Defined in
tools
• tools: Partial<{ active: "" | "console" | "compiled" | "tests" ; enabled: "all" | ("console" | "compiled" | "tests")[] ; status: ToolsPaneStatus }>
Inherited from
Defined in
trailingComma
• trailingComma: boolean
Inherited from
Defined in
types
• types: Types
Inherited from
Defined in
useTabs
• useTabs: boolean
Inherited from
Defined in
version
• Readonly version: string
Inherited from
Defined in
welcome
• welcome: boolean
Inherited from
Defined in
wordWrap
• wordWrap: boolean
Inherited from
Defined in
zoom
• zoom: 0.25 | 0.5 | 1