GraphiQL API Documentation
    Preparing search index...

    Interface MonacoGraphQLAPIOptions

    Copyright (c) 2021 GraphQL Contributors.

    This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

    Hierarchy

    Index

    Properties

    completionSettings: CompletionSettings

    custom (experimental) settings for autocompletion behavior

    diagnosticSettings: DiagnosticSettings

    custom settings for diagnostics (validation)

    formattingOptions: FormattingOptions

    Provide prettier formatting options as prettierConfig.<option>

    initializeMode({
    formattingOptions: { prettierConfig: { useTabs: true } }
    })
    languageId: string
    modeConfiguration: ModeConfiguration

    Generic monaco language mode options, same as for the official monaco JSON mode

    schemas?: SchemaConfig[]

    An array of schema configurations from which to match files for language features You can provide many formats, see the config for details!