PTVS
PTVS copied to clipboard
PythonLanguageClient handling workspace folders in non-standard way
This came up in the LSP Weekly Sync meeting today. PythonLanguageClient::OnSendToServer is modifying the LSP initialize message to claim that workspace folders are supported even though VS does not support them. The recommendation was to instead detect that VS does not support workspace folders (based on capabilities?) and react accordingly on the server side.
There's a 2-3 minute discussion about this starting at 8:45 in the meeting recording.
Afterwards they discuss what SendDocumentOpensAsync is doing (also unexpected), which is likely related.