开发者

Tab/spaces indention issues in IDE's vs vim

开发者 https://www.devze.com 2023-02-19 10:18 出处:网络
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.

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?


...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

0

精彩评论

暂无评论...
验证码 换一张
取 消