MCPcopy Create free account
hub / github.com/uiwjs/react-codemirror / BasicSetupOptions

Interface BasicSetupOptions

extensions/basic-setup/src/index.ts:29–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27import { lintKeymap } from '@codemirror/lint';
28
29export interface BasicSetupOptions extends MinimalSetupOptions {
30 lineNumbers?: boolean;
31 highlightActiveLineGutter?: boolean;
32 foldGutter?: boolean;
33 dropCursor?: boolean;
34 allowMultipleSelections?: boolean;
35 indentOnInput?: boolean;
36 bracketMatching?: boolean;
37 closeBrackets?: boolean;
38 autocompletion?: boolean;
39 rectangularSelection?: boolean;
40 crosshairCursor?: boolean;
41 highlightActiveLine?: boolean;
42 highlightSelectionMatches?: boolean;
43
44 closeBracketsKeymap?: boolean;
45 searchKeymap?: boolean;
46 foldKeymap?: boolean;
47 completionKeymap?: boolean;
48 lintKeymap?: boolean;
49 /**
50 * Facet for overriding the unit by which indentation happens. Should be a string consisting either entirely of spaces or entirely of tabs. When not set, this defaults to 2 spaces
51 * https://codemirror.net/docs/ref/#language.indentUnit
52 * @default 2
53 */
54 tabSize?: number;
55}
56
57/**
58This is an extension value that just pulls together a number of

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…