-
-
-
-
-
- setCode(value || "")}
- theme="vs-dark"
- onMount={(editor) => setEditorInstance(editor)}
- options={{
- minimap: { enabled: false },
- fontSize: 14,
- padding: { top: 16 },
- scrollBeyondLastLine: false,
- suggestOnTriggerCharacters: true,
- quickSuggestions: true,
- snippetSuggestions: "inline",
- wordBasedSuggestions: "matchingDocuments",
- parameterHints: {
- enabled: true,
- cycle: true,
- },
- suggest: {
- showKeywords: true,
- showSnippets: true,
- showClasses: true,
- showFunctions: true,
- showVariables: true,
- showWords: true,
- showMethods: true,
- showProperties: true,
- },
- }}
- />
+
+
+
+ setCode(value || "")}
+ theme="vs-dark"
+ onMount={(editor) => setEditorInstance(editor)}
+ options={{
+ minimap: { enabled: false },
+ fontSize: 14,
+ padding: { top: 16 },
+ scrollBeyondLastLine: false,
+ suggestOnTriggerCharacters: true,
+ quickSuggestions: true,
+ snippetSuggestions: "inline",
+ wordBasedSuggestions: "matchingDocuments",
+ parameterHints: {
+ enabled: true,
+ cycle: true,
+ },
+ suggest: {
+ showKeywords: true,
+ showSnippets: true,
+ showClasses: true,
+ showFunctions: true,
+ showVariables: true,
+ showWords: true,
+ showMethods: true,
+ showProperties: true,
+ },
+ }}
+ />
+