Closed StellaHuang95 closed 2 months ago
fixes https://github.com/microsoft/PTVS/issues/7864
In the code action requests that VS client sends, the _vs_selectionRange is supposed to be the range property that Pylance can understand, so intercept the messages and modify the property to make code actions work.
_vs_selectionRange
range
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots No data about Coverage No data about Duplication
See analysis details on SonarCloud
fixes https://github.com/microsoft/PTVS/issues/7864
In the code action requests that VS client sends, the
_vs_selectionRange
is supposed to be therange
property that Pylance can understand, so intercept the messages and modify the property to make code actions work.