About 294,000 results
Open links in new tab
  1. indentation - How to indent/format a selection of code in Visual …

    I want to indent a specific section of code in Visual Studio Code: Select the lines you want to indent. Use Ctrl + ] to indent them. If you want to format a section (instead of indenting it): …

  2. I'm getting an IndentationError (or a TabError). How do I fix it?

    There are a few established questions for certain more specific cases, where the conceptual problem isn't about the indentation per se: How can I write an empty indented block (and avoid …

  3. How do you auto format code in Visual Studio? - Stack Overflow

    Apr 22, 2011 · I know Visual Studio can auto format to make my methods and loops indented properly, but I cannot find the setting.

  4. How to indent a few lines in Markdown markup? - Stack Overflow

    May 18, 2011 · Learn how to indent multiple lines in Markdown markup with examples and solutions provided by the Stack Overflow community.

  5. Why am I getting "IndentationError: expected an indented block"?

    This is just an indentation problem since Python is very strict when it comes to it. If you are using Sublime Text, you can select all, click on the lower right beside 'Python' and make sure you …

  6. IndentationError: unindent does not match any outer indentation …

    When I compile the Python code below, I get IndentationError: unindent does not match any outer indentation level import sys def Factorial(n): # Return factorial result = 1 for i in range...

  7. "inconsistent use of tabs and spaces in indentation"

    Apr 16, 2011 · If you use tabs only, you get an 8-space indentation, unless you expand tabs to something else than 8 spaces, in which case it will look bad on other editors. If you mix tabs …

  8. How to fix Python indentation - Stack Overflow

    305 I have some Python code that have inconsistent indentation. There is a lot of mixture of tabs and spaces to make the matter even worse, and even space indentation is not preserved. The …

  9. indentation - Python IndentationError: unexpected indent - Stack …

    8 Check if you mixed tabs and spaces. That is a frequent source of indentation errors.

  10. indentation - Auto-indent in Notepad++ - Stack Overflow

    Jan 5, 2009 · Notepad++ will only auto-insert subsequent indents if you manually indent the first line in a block; otherwise you can re-indent your code after the fact using TextFX > TextFX …