Closed d3mage closed 1 year ago
Did you enable it in settings? Temporarily it needs to be enabled in two both JupyterLab completion settings and in LSP completion settings.
@krassowski
{
"continuousHinting": true,
"suppressContinuousHintingIn": [
"Comment",
"BlockComment",
"LineComment",
"String"
],
"suppressTriggerCharacterIn": [
"Comment",
"BlockComment",
"LineComment",
"String"
],
"waitForBusyKernel": true,
"theme": "vscode",
"kernelCompletionsFirst": false,
"caseSensitive": true,
"includePerfectMatches": true,
"preFilterMatches": true,
"labelExtra": "auto",
"layout": "side-by-side",
"typesMap": {
"<unknown>": "Kernel",
"instance": "Value",
"path": "File",
"param": "Variable",
"missing": "Constant",
"nothing": "Constant",
"undefinitializer": "Constant",
"base.devnull": "Constant"
},
"disable": false
}
That's only the LSP part.
Could you aid me with enabling it in JupyterLab? Sorry, I have very limited knowledge regarding the domain.
Part one:
Part two:
@krassowski Thank you for your help! It works now
Version 4.1.1 ::
@OsicKwon you need to enable it in both "Code Completion" setting panels
Hi @krassowski Thank you for your message. Yes, it worked perfect when I checked both of "Code Completion" in Version 4.1.1. In version of 4.1.1, there was many changes. One of the changes that I am looking for is using Ruff for Python, which doesn't work for me in Arch. Hopefully that will be solved on my end. Anyway, thanks as always.
Hi guys,
I have the same exact problem, but I don't see the additional option "Enable autocompletion" in my settings. What can I do to solve it?
Description
I am relatively new to Python and Jupyter so I desperately need autocomplete to help me. I have followed the guide in the
README.md
, and installed the server, but the hinting doesn't work. Thepython-lsp-server
should work because now I can see the lint.Reproduce
pip install 'jupyterlab>=4.0.0,<5.0.0a0' jupyterlab-lsp
pip install 'python-lsp-server[all]'
Expected behavior
Expected the autocomplete to work.
Context
Required: installed server extensions
Required: installed lab extensions