Closed
Description
I am having an issue where doing Format Selection
is making changes outside the selected range. To clarify, doing Format Document
does yield different results (more changes), so they are at least different.
I am using:
- yapf 0.40.2
- yapf VSCode extension version v2023.11.122090301
- Python 3.9.13
My .vscode/settings.json is
{
"python.languageServer": "Pylance",
"python.analysis.diagnosticSeverityOverrides": {
},
"python.analysis.inlayHints.variableTypes": "off",
"python.analysis.inlayHints.functionReturnTypes": true,
"python.analysis.inlayHints.callArgumentNames": "off",
"[python]": {
"editor.defaultFormatter": "eeyore.yapf"
},
}