SPARQL Studio API / Yasqe / qlueLs / settingsSchema
Variable: settingsSchema
constsettingsSchema: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
readonlytitle:"Qlue-ls settings"="Qlue-ls settings"
properties
readonlyproperties:object
properties.prefixes.addMissing
readonlyprefixes.addMissing:object
properties.prefixes.addMissing.type
readonlytype:"boolean"="boolean"
properties.prefixes.addMissing.title
readonlytitle:"Auto-add missing prefixes"="Auto-add missing prefixes"
properties.prefixes.addMissing.group
readonlygroup:"Prefixes"="Prefixes"
properties.prefixes.addMissing.default
readonlydefault:boolean=defaultSettings.prefixes.addMissing
properties.prefixes.removeUnused
readonlyprefixes.removeUnused:object
properties.prefixes.removeUnused.type
readonlytype:"boolean"="boolean"
properties.prefixes.removeUnused.title
readonlytitle:"Remove unused prefixes"="Remove unused prefixes"
properties.prefixes.removeUnused.group
readonlygroup:"Prefixes"="Prefixes"
properties.prefixes.removeUnused.default
readonlydefault:boolean=defaultSettings.prefixes.removeUnused
properties.format.capitalizeKeywords
readonlyformat.capitalizeKeywords:object
properties.format.capitalizeKeywords.type
readonlytype:"boolean"="boolean"
properties.format.capitalizeKeywords.title
readonlytitle:"Capitalize keywords"="Capitalize keywords"
properties.format.capitalizeKeywords.group
readonlygroup:"Formatting"="Formatting"
properties.format.capitalizeKeywords.default
readonlydefault:boolean=defaultSettings.format.capitalizeKeywords
properties.format.alignPredicates
readonlyformat.alignPredicates:object
properties.format.alignPredicates.type
readonlytype:"boolean"="boolean"
properties.format.alignPredicates.title
readonlytitle:"Align predicates"="Align predicates"
properties.format.alignPredicates.group
readonlygroup:"Formatting"="Formatting"
properties.format.alignPredicates.default
readonlydefault:boolean=defaultSettings.format.alignPredicates
properties.format.alignPrefixes
readonlyformat.alignPrefixes:object
properties.format.alignPrefixes.type
readonlytype:"boolean"="boolean"
properties.format.alignPrefixes.title
readonlytitle:"Align prefixes"="Align prefixes"
properties.format.alignPrefixes.group
readonlygroup:"Formatting"="Formatting"
properties.format.alignPrefixes.default
readonlydefault:boolean=defaultSettings.format.alignPrefixes
properties.format.separatePrologue
readonlyformat.separatePrologue:object
properties.format.separatePrologue.type
readonlytype:"boolean"="boolean"
properties.format.separatePrologue.title
readonlytitle:"Separate prologue"="Separate prologue"
properties.format.separatePrologue.group
readonlygroup:"Formatting"="Formatting"
properties.format.separatePrologue.default
readonlydefault:boolean=defaultSettings.format.separatePrologue
properties.format.insertSpaces
readonlyformat.insertSpaces:object
properties.format.insertSpaces.type
readonlytype:"boolean"="boolean"
properties.format.insertSpaces.title
readonlytitle:"Indent with spaces"="Indent with spaces"
properties.format.insertSpaces.group
readonlygroup:"Formatting"="Formatting"
properties.format.insertSpaces.default
readonlydefault:boolean=defaultSettings.format.insertSpaces
properties.format.tabSize
readonlyformat.tabSize:object
properties.format.tabSize.type
readonlytype:"number"="number"
properties.format.tabSize.title
readonlytitle:"Indent size"="Indent size"
properties.format.tabSize.group
readonlygroup:"Formatting"="Formatting"
properties.format.tabSize.minimum
readonlyminimum:1=1
properties.format.tabSize.maximum
readonlymaximum:8=8
properties.format.tabSize.default
readonlydefault:number=defaultSettings.format.tabSize
properties.format.whereNewLine
readonlyformat.whereNewLine:object
properties.format.whereNewLine.type
readonlytype:"boolean"="boolean"
properties.format.whereNewLine.title
readonlytitle:"WHERE on new line"="WHERE on new line"
properties.format.whereNewLine.group
readonlygroup:"Formatting"="Formatting"
properties.format.whereNewLine.default
readonlydefault:boolean=defaultSettings.format.whereNewLine
properties.format.filterSameLine
readonlyformat.filterSameLine:object
properties.format.filterSameLine.type
readonlytype:"boolean"="boolean"
properties.format.filterSameLine.title
readonlytitle:"FILTER on same line"="FILTER on same line"
properties.format.filterSameLine.group
readonlygroup:"Formatting"="Formatting"
properties.format.filterSameLine.default
readonlydefault:boolean=defaultSettings.format.filterSameLine
properties.format.lineLength
readonlyformat.lineLength:object
properties.format.lineLength.type
readonlytype:"number"="number"
properties.format.lineLength.title
readonlytitle:"Max line length"="Max line length"
properties.format.lineLength.group
readonlygroup:"Formatting"="Formatting"
properties.format.lineLength.minimum
readonlyminimum:40=40
properties.format.lineLength.maximum
readonlymaximum:400=400
properties.format.lineLength.default
readonlydefault:number=defaultSettings.format.lineLength
properties.format.contractTriples
readonlyformat.contractTriples:object
properties.format.contractTriples.type
readonlytype:"boolean"="boolean"
properties.format.contractTriples.title
readonlytitle:"Contract triples"="Contract triples"
properties.format.contractTriples.group
readonlygroup:"Formatting"="Formatting"
properties.format.contractTriples.default
readonlydefault:boolean=defaultSettings.format.contractTriples
properties.format.autoLineBreak
readonlyformat.autoLineBreak:object
properties.format.autoLineBreak.type
readonlytype:"boolean"="boolean"
properties.format.autoLineBreak.title
readonlytitle:"Auto line break"="Auto line break"
properties.format.autoLineBreak.group
readonlygroup:"Formatting"="Formatting"
properties.format.autoLineBreak.default
readonlydefault:boolean=defaultSettings.format.autoLineBreak
properties.completion.timeoutMs
readonlycompletion.timeoutMs:object
properties.completion.timeoutMs.type
readonlytype:"number"="number"
properties.completion.timeoutMs.title
readonlytitle:"Completion timeout (ms)"="Completion timeout (ms)"
properties.completion.timeoutMs.group
readonlygroup:"Completion"="Completion"
properties.completion.timeoutMs.minimum
readonlyminimum:100=100
properties.completion.timeoutMs.maximum
readonlymaximum:30000=30000
properties.completion.timeoutMs.default
readonlydefault:number=defaultSettings.completion.timeoutMs
properties.completion.resultSizeLimit
readonlycompletion.resultSizeLimit:object
properties.completion.resultSizeLimit.type
readonlytype:"number"="number"
properties.completion.resultSizeLimit.title
readonlytitle:"Max completion results"="Max completion results"
properties.completion.resultSizeLimit.group
readonlygroup:"Completion"="Completion"
properties.completion.resultSizeLimit.minimum
readonlyminimum:1=1
properties.completion.resultSizeLimit.maximum
readonlymaximum:1000=1000
properties.completion.resultSizeLimit.default
readonlydefault:number=defaultSettings.completion.resultSizeLimit
properties.completion.subjectCompletionTriggerLength
readonlycompletion.subjectCompletionTriggerLength:object
properties.completion.subjectCompletionTriggerLength.type
readonlytype:"number"="number"
properties.completion.subjectCompletionTriggerLength.title
readonlytitle:"Subject completion trigger length"="Subject completion trigger length"
properties.completion.subjectCompletionTriggerLength.group
readonlygroup:"Completion"="Completion"
properties.completion.subjectCompletionTriggerLength.minimum
readonlyminimum:0=0
properties.completion.subjectCompletionTriggerLength.maximum
readonlymaximum:20=20
properties.completion.subjectCompletionTriggerLength.default
readonlydefault:number=defaultSettings.completion.subjectCompletionTriggerLength
properties.completion.objectCompletionSuffix
readonlycompletion.objectCompletionSuffix:object
properties.completion.objectCompletionSuffix.type
readonlytype:"boolean"="boolean"
properties.completion.objectCompletionSuffix.title
readonlytitle:"Object completion suffix"="Object completion suffix"
properties.completion.objectCompletionSuffix.group
readonlygroup:"Completion"="Completion"
properties.completion.objectCompletionSuffix.default
readonlydefault:boolean=defaultSettings.completion.objectCompletionSuffix
properties.completion.variableCompletionLimit
readonlycompletion.variableCompletionLimit:object
properties.completion.variableCompletionLimit.type
readonlytype:"number"="number"
properties.completion.variableCompletionLimit.title
readonlytitle:"Variable completion limit"="Variable completion limit"
properties.completion.variableCompletionLimit.group
readonlygroup:"Completion"="Completion"
properties.completion.variableCompletionLimit.minimum
readonlyminimum:0=0
properties.completion.variableCompletionLimit.maximum
readonlymaximum:100=100
properties.completion.variableCompletionLimit.default
readonlydefault:number=defaultSettings.completion.variableCompletionLimit
properties.completion.sameSubjectSemicolon
readonlycompletion.sameSubjectSemicolon:object
properties.completion.sameSubjectSemicolon.type
readonlytype:"boolean"="boolean"
properties.completion.sameSubjectSemicolon.title
readonlytitle:"Same subject semicolon"="Same subject semicolon"
properties.completion.sameSubjectSemicolon.group
readonlygroup:"Completion"="Completion"
properties.completion.sameSubjectSemicolon.default
readonlydefault:boolean=defaultSettings.completion.sameSubjectSemicolon