MCPcopy
hub / github.com/kite-org/kite / MonacoEditorFeaturesOptions

Interface MonacoEditorFeaturesOptions

ui/plugins/vite-plugin-monaco-editor.ts:14–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12import type { Plugin } from 'vite'
13
14export interface MonacoEditorFeaturesOptions {
15 /**
16 * Editor contrib features to keep.
17 * Names correspond to the folder name under `vs/editor/contrib/`, e.g.
18 * `'find'`, `'folding'`, `'clipboard'`, `'comment'`.
19 *
20 * The following are always included regardless of this list:
21 * - core commands & widgets (coreCommands, codeEditorWidget, diffEditor)
22 * - codicon CSS
23 * - standaloneStrings
24 *
25 * If omitted or empty, **all** features are kept (no stripping).
26 */
27 features?: string[]
28}
29
30const MONACO_LANG_RE = /monaco-editor[\\/]esm[\\/]vs[\\/]basic-languages[\\/]/
31

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected