Skip to content

SPARQL Studio API / Yasqe / qlueLs / settingsSchema

Variable: settingsSchema

const settingsSchema: object

Defined in: sparql-utils/src/languageServers/qlueLs.ts:481

A small JSON-schema subset describing qlue-ls's most useful settings, ready to pass to a Yasqe language server's configSchema. Keys are dotted paths into Settings (e.g. format.tabSize); Yasqe de-flattens them into a nested object before handing it to the configCallback, so a callback of (client, settings) => qlueLs.configureSettings(client, settings) applies them directly. Defaults are sourced from defaultSettings so the panel and the server agree.

Type Declaration

title

readonly title: "Qlue-ls settings" = "Qlue-ls settings"

properties

readonly properties: object

properties.prefixes.addMissing

readonly prefixes.addMissing: object

properties.prefixes.addMissing.type

readonly type: "boolean" = "boolean"

properties.prefixes.addMissing.title

readonly title: "Auto-add missing prefixes" = "Auto-add missing prefixes"

properties.prefixes.addMissing.group

readonly group: "Prefixes" = "Prefixes"

properties.prefixes.addMissing.default

readonly default: boolean = defaultSettings.prefixes.addMissing

properties.prefixes.removeUnused

readonly prefixes.removeUnused: object

properties.prefixes.removeUnused.type

readonly type: "boolean" = "boolean"

properties.prefixes.removeUnused.title

readonly title: "Remove unused prefixes" = "Remove unused prefixes"

properties.prefixes.removeUnused.group

readonly group: "Prefixes" = "Prefixes"

properties.prefixes.removeUnused.default

readonly default: boolean = defaultSettings.prefixes.removeUnused

properties.format.capitalizeKeywords

readonly format.capitalizeKeywords: object

properties.format.capitalizeKeywords.type

readonly type: "boolean" = "boolean"

properties.format.capitalizeKeywords.title

readonly title: "Capitalize keywords" = "Capitalize keywords"

properties.format.capitalizeKeywords.group

readonly group: "Formatting" = "Formatting"

properties.format.capitalizeKeywords.default

readonly default: boolean = defaultSettings.format.capitalizeKeywords

properties.format.alignPredicates

readonly format.alignPredicates: object

properties.format.alignPredicates.type

readonly type: "boolean" = "boolean"

properties.format.alignPredicates.title

readonly title: "Align predicates" = "Align predicates"

properties.format.alignPredicates.group

readonly group: "Formatting" = "Formatting"

properties.format.alignPredicates.default

readonly default: boolean = defaultSettings.format.alignPredicates

properties.format.alignPrefixes

readonly format.alignPrefixes: object

properties.format.alignPrefixes.type

readonly type: "boolean" = "boolean"

properties.format.alignPrefixes.title

readonly title: "Align prefixes" = "Align prefixes"

properties.format.alignPrefixes.group

readonly group: "Formatting" = "Formatting"

properties.format.alignPrefixes.default

readonly default: boolean = defaultSettings.format.alignPrefixes

properties.format.separatePrologue

readonly format.separatePrologue: object

properties.format.separatePrologue.type

readonly type: "boolean" = "boolean"

properties.format.separatePrologue.title

readonly title: "Separate prologue" = "Separate prologue"

properties.format.separatePrologue.group

readonly group: "Formatting" = "Formatting"

properties.format.separatePrologue.default

readonly default: boolean = defaultSettings.format.separatePrologue

properties.format.insertSpaces

readonly format.insertSpaces: object

properties.format.insertSpaces.type

readonly type: "boolean" = "boolean"

properties.format.insertSpaces.title

readonly title: "Indent with spaces" = "Indent with spaces"

properties.format.insertSpaces.group

readonly group: "Formatting" = "Formatting"

properties.format.insertSpaces.default

readonly default: boolean = defaultSettings.format.insertSpaces

properties.format.tabSize

readonly format.tabSize: object

properties.format.tabSize.type

readonly type: "number" = "number"

properties.format.tabSize.title

readonly title: "Indent size" = "Indent size"

properties.format.tabSize.group

readonly group: "Formatting" = "Formatting"

properties.format.tabSize.minimum

readonly minimum: 1 = 1

properties.format.tabSize.maximum

readonly maximum: 8 = 8

properties.format.tabSize.default

readonly default: number = defaultSettings.format.tabSize

properties.format.whereNewLine

readonly format.whereNewLine: object

properties.format.whereNewLine.type

readonly type: "boolean" = "boolean"

properties.format.whereNewLine.title

readonly title: "WHERE on new line" = "WHERE on new line"

properties.format.whereNewLine.group

readonly group: "Formatting" = "Formatting"

properties.format.whereNewLine.default

readonly default: boolean = defaultSettings.format.whereNewLine

properties.format.filterSameLine

readonly format.filterSameLine: object

properties.format.filterSameLine.type

readonly type: "boolean" = "boolean"

properties.format.filterSameLine.title

readonly title: "FILTER on same line" = "FILTER on same line"

properties.format.filterSameLine.group

readonly group: "Formatting" = "Formatting"

properties.format.filterSameLine.default

readonly default: boolean = defaultSettings.format.filterSameLine

properties.format.lineLength

readonly format.lineLength: object

properties.format.lineLength.type

readonly type: "number" = "number"

properties.format.lineLength.title

readonly title: "Max line length" = "Max line length"

properties.format.lineLength.group

readonly group: "Formatting" = "Formatting"

properties.format.lineLength.minimum

readonly minimum: 40 = 40

properties.format.lineLength.maximum

readonly maximum: 400 = 400

properties.format.lineLength.default

readonly default: number = defaultSettings.format.lineLength

properties.format.contractTriples

readonly format.contractTriples: object

properties.format.contractTriples.type

readonly type: "boolean" = "boolean"

properties.format.contractTriples.title

readonly title: "Contract triples" = "Contract triples"

properties.format.contractTriples.group

readonly group: "Formatting" = "Formatting"

properties.format.contractTriples.default

readonly default: boolean = defaultSettings.format.contractTriples

properties.format.autoLineBreak

readonly format.autoLineBreak: object

properties.format.autoLineBreak.type

readonly type: "boolean" = "boolean"

properties.format.autoLineBreak.title

readonly title: "Auto line break" = "Auto line break"

properties.format.autoLineBreak.group

readonly group: "Formatting" = "Formatting"

properties.format.autoLineBreak.default

readonly default: boolean = defaultSettings.format.autoLineBreak

properties.completion.timeoutMs

readonly completion.timeoutMs: object

properties.completion.timeoutMs.type

readonly type: "number" = "number"

properties.completion.timeoutMs.title

readonly title: "Completion timeout (ms)" = "Completion timeout (ms)"

properties.completion.timeoutMs.group

readonly group: "Completion" = "Completion"

properties.completion.timeoutMs.minimum

readonly minimum: 100 = 100

properties.completion.timeoutMs.maximum

readonly maximum: 30000 = 30000

properties.completion.timeoutMs.default

readonly default: number = defaultSettings.completion.timeoutMs

properties.completion.resultSizeLimit

readonly completion.resultSizeLimit: object

properties.completion.resultSizeLimit.type

readonly type: "number" = "number"

properties.completion.resultSizeLimit.title

readonly title: "Max completion results" = "Max completion results"

properties.completion.resultSizeLimit.group

readonly group: "Completion" = "Completion"

properties.completion.resultSizeLimit.minimum

readonly minimum: 1 = 1

properties.completion.resultSizeLimit.maximum

readonly maximum: 1000 = 1000

properties.completion.resultSizeLimit.default

readonly default: number = defaultSettings.completion.resultSizeLimit

properties.completion.subjectCompletionTriggerLength

readonly completion.subjectCompletionTriggerLength: object

properties.completion.subjectCompletionTriggerLength.type

readonly type: "number" = "number"

properties.completion.subjectCompletionTriggerLength.title

readonly title: "Subject completion trigger length" = "Subject completion trigger length"

properties.completion.subjectCompletionTriggerLength.group

readonly group: "Completion" = "Completion"

properties.completion.subjectCompletionTriggerLength.minimum

readonly minimum: 0 = 0

properties.completion.subjectCompletionTriggerLength.maximum

readonly maximum: 20 = 20

properties.completion.subjectCompletionTriggerLength.default

readonly default: number = defaultSettings.completion.subjectCompletionTriggerLength

properties.completion.objectCompletionSuffix

readonly completion.objectCompletionSuffix: object

properties.completion.objectCompletionSuffix.type

readonly type: "boolean" = "boolean"

properties.completion.objectCompletionSuffix.title

readonly title: "Object completion suffix" = "Object completion suffix"

properties.completion.objectCompletionSuffix.group

readonly group: "Completion" = "Completion"

properties.completion.objectCompletionSuffix.default

readonly default: boolean = defaultSettings.completion.objectCompletionSuffix

properties.completion.variableCompletionLimit

readonly completion.variableCompletionLimit: object

properties.completion.variableCompletionLimit.type

readonly type: "number" = "number"

properties.completion.variableCompletionLimit.title

readonly title: "Variable completion limit" = "Variable completion limit"

properties.completion.variableCompletionLimit.group

readonly group: "Completion" = "Completion"

properties.completion.variableCompletionLimit.minimum

readonly minimum: 0 = 0

properties.completion.variableCompletionLimit.maximum

readonly maximum: 100 = 100

properties.completion.variableCompletionLimit.default

readonly default: number = defaultSettings.completion.variableCompletionLimit

properties.completion.sameSubjectSemicolon

readonly completion.sameSubjectSemicolon: object

properties.completion.sameSubjectSemicolon.type

readonly type: "boolean" = "boolean"

properties.completion.sameSubjectSemicolon.title

readonly title: "Same subject semicolon" = "Same subject semicolon"

properties.completion.sameSubjectSemicolon.group

readonly group: "Completion" = "Completion"

properties.completion.sameSubjectSemicolon.default

readonly default: boolean = defaultSettings.completion.sameSubjectSemicolon