If I have the following code
sql = ('SELECT mode FROM pg_locks JOIN pg_class '
'ON pg_class.oid = pg_locks.relation '
'JOIN pg_namespace ON pg_namespace.oid = pg_class.relnamespace '
f'WHERE pg_class.relname = {table_name!r} '
f'AND pg_namespace.nspname = {schema!r};')
And press tab I would expect the whole block to be indented four spaces, maintaining the lines alined. Instead I get
sql = ('SELECT mode FROM pg_locks JOIN pg_class '
'ON pg_class.oid = pg_locks.relation '
'JOIN pg_namespace ON pg_namespace.oid = pg_class.relnamespace '
f'WHERE pg_class.relname = {table_name!r} '
f'AND pg_namespace.nspname = {schema!r};')
Not sure if this is a larger VSCode problem (it does the same without Python Indent). Is there any way to get this to work?
If I have the following code
And press tab I would expect the whole block to be indented four spaces, maintaining the lines alined. Instead I get
Not sure if this is a larger VSCode problem (it does the same without Python Indent). Is there any way to get this to work?