@jupyter-lsp/jupyterlab-lsp
Version:
Language Server Protocol integration for JupyterLab
137 lines (136 loc) • 5.27 kB
JSON
{
"jupyter.lab.setting-icon": "lsp:completion",
"jupyter.lab.setting-icon-label": "Language integration",
"title": "Code Completion",
"description": "LSP Completion settings.",
"type": "object",
"properties": {
"continuousHinting": {
"title": "Continuous hinting",
"type": "boolean",
"default": false,
"description": "Whether to enable continuous hinting (Hinterland mode). Requires enabling autocompletion in the other 'Code completion' settings"
},
"suppressContinuousHintingIn": {
"title": "Suppress invoke continuous hinting in specific code fragments",
"type": "array",
"items": {
"type": "string"
},
"default": ["Comment", "BlockComment", "LineComment", "String"],
"description": "An array of CodeMirror tokens for which the continuous hinting should be suppressed. The token names vary between languages (modes)."
},
"suppressTriggerCharacterIn": {
"title": "Suppress invoke via trigger character in specific code fragments",
"type": "array",
"items": {
"type": "string"
},
"default": ["Comment", "BlockComment", "LineComment", "String"],
"description": "An array of CodeMirror tokens for which the auto-invoke after entering a trigger (e.g. `.` in Python or `::` in R) character should be suppressed. The token names vary between languages (modes)."
},
"waitForBusyKernel": {
"title": "Wait for kernel if busy",
"default": true,
"type": "boolean",
"description": "Should an attempt to get the kernel response (with timeout as specified by kernelResponseTimeout) be made if kernel is busy? If you often write code in notebook while computations are running for long time (e.g. training models), turning this off might give you faster response times."
},
"theme": {
"title": "Completer theme",
"type": ["string", "null"],
"default": "vscode",
"description": "The identifier of a completer theme with icons which indicate the kind of completion. Set to null to disable icons. Search for 'completer themes' in the command palette for a command displaying available themes."
},
"kernelCompletionsFirst": {
"title": "Prioritize completions from kernel",
"default": false,
"type": "boolean",
"description": "In case of ties when sorting completions, should the kernel completions receive higher priority than the language server completions?"
},
"caseSensitive": {
"title": "Case-sensitive filtering",
"default": true,
"type": "boolean",
"description": "Should completion filtering be case-sensitive?"
},
"includePerfectMatches": {
"title": "Include perfect matches",
"default": true,
"type": "boolean",
"description": "Should perfect matches be included in the completion suggestions list?"
},
"preFilterMatches": {
"title": "Pre-filter matches",
"default": true,
"type": "boolean",
"description": "Should matches be pre-filtered to ensure typed token is a prefix of the match?"
},
"labelExtra": {
"title": "Text to display next to completion label",
"default": "auto",
"type": "string",
"enum": ["detail", "type", "source", "auto"],
"description": "What to display next to the completion label, one of: 'detail', 'type', 'source', 'auto'. The default 'auto' will display whichever information is available."
},
"layout": {
"title": "Completer layout",
"default": "side-by-side",
"type": "string",
"enum": ["detail-below", "side-by-side"],
"description": "Layout of the completer, one of: 'detail-below', 'side-by-side'"
},
"typesMap": {
"title": "Mapping of custom kernel types to valid completion kind names",
"description": "Mapping used for icon selection. The kernel types (keys) are case-insensitive. Accepted values are the names of CompletionItemKind and 'Kernel' literal. The defaults aim to provide good initial experience for Julia, Python and R kernels.",
"type": "object",
"default": {
"<unknown>": "Kernel",
"instance": "Value",
"path": "File",
"param": "Variable",
"missing": "Constant",
"nothing": "Constant",
"undefinitializer": "Constant",
"base.devnull": "Constant"
},
"additionalProperties": {
"type": "string",
"enum": [
"Kernel",
"Text",
"Method",
"Function",
"Constructor",
"Field",
"Variable",
"Class",
"Interface",
"Module",
"Property",
"Unit",
"Value",
"Enum",
"Keyword",
"Snippet",
"Color",
"File",
"Reference",
"Folder",
"EnumMember",
"Constant",
"Struct",
"Event",
"Operator",
"TypeParameter"
]
}
},
"disable": {
"title": "Disable",
"type": "boolean",
"default": false,
"description": "Disable this feature. Requires reloading JupyterLab to apply changes."
}
},
"jupyter.lab.shortcuts": []
}