You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Black extension appears to be running "correctly", i.e. if I manually run the LSP server I don't see any errors, and if I manually call the "format document" function within VS Code it formats correctly, however when the on-save functionality isn't working as expected which I believe is down to the LSP server that runs the extension failing to respond with anything.
I'm trying to get my Black extension working, our environment is:
I'm on a Windows 11 machine running VS Code
The code/intepreter runs on an Ubuntu machine which I'm connecting to via Remote-SSH
My local configuration is below (the commented out ones just show various combinations of configuration I've unsuccessfully tried.
Setting the Python interpreter in VS Code to point at my desired interpreter and omitted the various black options
Set the importStrategy both ways
The output from my black extension log is pretty long so I've attached it here, the key thing is it reaches the point where it sends the format request to the LSP server, and nothing is received back:
I'm a bit stumped how to proceed, I've started adding random debug symbols into the lsp_server.py file just to see if its actually getting the message. I checked the Extension Host logs, nothing really of interest shows there
Hi!
My Black extension appears to be running "correctly", i.e. if I manually run the LSP server I don't see any errors, and if I manually call the "format document" function within VS Code it formats correctly, however when the on-save functionality isn't working as expected which I believe is down to the LSP server that runs the extension failing to respond with anything.
I'm trying to get my Black extension working, our environment is:
My local configuration is below (the commented out ones just show various combinations of configuration I've unsuccessfully tried.
A few things I've tried:
The output from my black extension log is pretty long so I've attached it here, the key thing is it reaches the point where it sends the format request to the LSP server, and nothing is received back:
black extension output.txt
I'm a bit stumped how to proceed, I've started adding random debug symbols into the lsp_server.py file just to see if its actually getting the message. I checked the Extension Host logs, nothing really of interest shows there
The text was updated successfully, but these errors were encountered: