Search code examples
pythonformattingindentationreplit

(Formatting) A single indent in VSCode is two indents in repl.it Is there a setting for this on either one of the IDEs?


This python code was imported from a git repository in which the code was originally written from Visual Studio Code. Seeing the code on repl.it, the indentations are now corrupted (They don't see to agree on the indentations).

A single indentation in VSCode is two indentations in repl.it I'm not sure if anybody knows if there's a setting or anything to make them the same.

Code from VSCode enter image description here

Code from Replit (Indentation lines are double from what it's supposed to be) enter image description here


Solution

  • Simply go to "settings" on repl.it and change the indentation size, in this case, it's 4

    enter image description here