#1
|
|||
|
|||
Whitespace as the default indentation
Can I use space as the default indentation in vizard?
|
#2
|
|||
|
|||
No, this option is not currently available.
|
#3
|
|||
|
|||
Or can I replace the whitespace indentation with tab? because some of my old code is done by using whitespace. Is there some software that can do this?
|
#4
|
|||
|
|||
Python can behave annoying sometimes when it comes to mixed indentation with tabs and spaces. Especially in the Vizard environment this can be stressing, I have 2 solutions for this:
1: Use Eclipse (or another IDE tool) to create your code and then run the code with vizard. (If you use the search you can check how to use Vizard inside Eclipse) 2: copy the code with the wrong indentation to notepad, there you can remove all the tabs and whitespaces, then copy the plaintext to the vizard IDE and all the indentation should be gone so you can rebuild it properly |
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
You can replace all the the indentation with tabs in the Vizard GUI. Select your code and then hit ALT+t or under edit select tabify region.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
default start position | erchrastil | Vizard | 2 | 06-23-2008 08:15 AM |
small indentation question | dan12345 | Vizard | 1 | 03-03-2008 04:57 AM |
Default in wireframe | semblance | Vizard | 1 | 10-16-2006 09:31 AM |
Default FOV | duda | Vizard | 1 | 11-14-2003 12:23 PM |