Search code examples
pythonnetbeansidetabstop

Tab/spaces indention issues in IDE's vs vim


For a python project I am trying an IDE, coming from vim but I have troube how my code is shown resp. indentation. Many lines should be indented because they are inside if-then-else statements.

In SPE and netbeans there are many lines where the indention-space (four) are collapsed.

But I checked the files with tabnanny and pylint and cant see indention problems. ANd the code has been running up to now.

  1. How can i check that?

  2. Where is the "show whitespace" toggle in netbeans?


Solution

  • ...Netbeans want to switch from spaces to tabs, not the other way around... ergh – Rafe Kettler Mar 23 at 15:36

    I use netbeans meanwhile and like it. Yes I converted all spaces to tabs and retab it to 4 in php and python

    regards