Protected ReadonlymonacoProtectednextProtected ReadonlypreferenceProtected ReadonlyquickProtected ReadonlysecondaryProtected ReadonlysnippetProtected ReadonlytextProtected ReadonlywindowsProtected ReadonlyworkspaceProtectedstandaloneProtectedaddFor reasons that are unclear, while most preferences that apply in editors are validated, a few are not.
There is a utility in examples/api-samples/src/browser/monaco-editor-preferences/monaco-editor-preference-extractor.ts to help determine which are not.
Check src/vs/editor/common/config/editorOptions.ts for constructor arguments and to make sure that the preference names used to extract constructors are still accurate.
ProtectedinitCalled on application startup before configure is called.
Called when the application is started. The application shell is not attached yet when this method runs. Should return a promise if it runs asynchronously.
Theia's MonacoStandaloneThemeService override, which creates the
monaco-colorsstylesheet in the target node's own document. The upstreamStandaloneThemeServicewould only ever create a single global stylesheet in the main document and silently no-op for nodes in other documents, so this contribution depends on the Theia override being bound (seemonaco-init.ts).