Wednesday, September 16, 2020

“inconsistent use of tabs and spaces in indentation”

 https://stackoverflow.com/questions/5685406/inconsistent-use-of-tabs-and-spaces-in-indentation

It is possible to solve this problem using notepad++ by replacing Tabs with 4 Spaces:

  1. Choose Search -> Find... or press Ctrl + F
  2. Select the Replace tab
  3. In the box named Search Mode choose Extended(\n, \r, \t, \0, \x...)
  4. In the field Find what : write \t
  5. In the field Replace with : press Space 4 times. Be sure that there is nothing else in this field.
  6. Click on the button Replace All

How to replace Tabs with Spaces

  edit    flag 


No comments:

Post a Comment