monacoOptions.ts — react Source File
Architecture documentation for monacoOptions.ts, a typescript file in the react codebase. 1 imports, 3 dependents.
Entity Profile
Dependency Diagram
graph LR 69a967f0_da34_9d76_02a5_8fdbe7a1e5af["monacoOptions.ts"] 614e952b_3d61_c4d4_c772_736b3ce12512["react"] 69a967f0_da34_9d76_02a5_8fdbe7a1e5af --> 614e952b_3d61_c4d4_c772_736b3ce12512 84f17a2e_0d58_9d14_2c35_30f086f6e436["ConfigEditor.tsx"] 84f17a2e_0d58_9d14_2c35_30f086f6e436 --> 69a967f0_da34_9d76_02a5_8fdbe7a1e5af e75ba65e_505f_abf4_2928_6f0aefb2fc72["Input.tsx"] e75ba65e_505f_abf4_2928_6f0aefb2fc72 --> 69a967f0_da34_9d76_02a5_8fdbe7a1e5af 034b2d8c_7261_f40f_c380_2b5db8fde033["Output.tsx"] 034b2d8c_7261_f40f_c380_2b5db8fde033 --> 69a967f0_da34_9d76_02a5_8fdbe7a1e5af style 69a967f0_da34_9d76_02a5_8fdbe7a1e5af fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import type {EditorProps} from '@monaco-editor/react';
export const monacoOptions: Partial<EditorProps['options']> = {
fontSize: 14,
padding: {top: 8},
scrollbar: {
verticalScrollbarSize: 10,
alwaysConsumeMouseWheel: false,
},
minimap: {
enabled: false,
},
formatOnPaste: true,
formatOnType: true,
fontFamily: '"Source Code Pro", monospace',
glyphMargin: true,
autoClosingBrackets: 'languageDefined',
autoClosingDelete: 'always',
autoClosingOvertype: 'always',
automaticLayout: true,
wordWrap: 'on',
wrappingIndent: 'same',
tabSize: 2,
};
export const monacoConfigOptions: Partial<EditorProps['options']> = {
...monacoOptions,
lineNumbers: 'off',
renderLineHighlight: 'none',
overviewRulerBorder: false,
overviewRulerLanes: 0,
fontSize: 12,
scrollBeyondLastLine: false,
glyphMargin: false,
};
Domain
Dependencies
- react
Imported By
Source
Frequently Asked Questions
What does monacoOptions.ts do?
monacoOptions.ts is a source file in the react codebase, written in typescript. It belongs to the MonacoIntegration domain.
What does monacoOptions.ts depend on?
monacoOptions.ts imports 1 module(s): react.
What files import monacoOptions.ts?
monacoOptions.ts is imported by 3 file(s): ConfigEditor.tsx, Input.tsx, Output.tsx.
Where is monacoOptions.ts in the architecture?
monacoOptions.ts is located at compiler/apps/playground/components/Editor/monacoOptions.ts (domain: MonacoIntegration, directory: compiler/apps/playground/components/Editor).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free