So, I got a working pylsp server running for my notebooks within jupyterlab, and code linting works fine, but I cannot find anywhere any docs on how to activate code formatting?
On the docs page for pylsp (which is not written for jupyterlab users), it says that code formatting via yapf is supported, but I just don’t know how to trigger that?
I have used jupyterlab_code_formatter before, which simply has a context menu “Format cell” and a button to format the whole notebook. But I cannot find any menu entry similar to that with using pylsp alone. Not in the context menu nor in the command panel.
Can anyone tell me if/how this works?