Visual Studio Code - When use \t in Python code the tab is 8 not 4 spaces (windows version)

Viewed 14

I have a issue using \t in Python when I use Visual Studio Code, Example

print("1234567890")
print("a\tb")

result
1234567890
a       b

8 spaces! but it has to be 4 spaces. When I use Pycharm or Spyder show 4 spaces. Anyone has a solution? Thanks in advance

0 Answers
Related