Skip to content
Home ยป vs code

vs code

Solving “inconsistent use of tabs and spaces in indentation” in Visual Studio Code

Out of the blue, when coding Python in Visual Studio Code, you might run into the following error. “inconsistent use of tabs and spaces in indentation” This happens, because somewhere in your code, indentation is different than in the rest of your code. Generally, Python doesn’t care what kind of…