Create pyrightconfig.json
file in project/ workspace root:
E.g. to exclude VS Code local history directory:
{
"exclude": [
"**/.history"
]
}
- See: microsoft/pylance-release#123 (comment)
- See: https://github.com/microsoft/pyright/blob/main/docs/configuration.md
Alt
+UP / DOWN
switch line's position with line above / belowShift
+Alt
+UP / DOWN
duplicate line above / below current position