if you dont understand my question feel free to ask for clarifications
technical question
Page 1 of 16 Replies - 279 Views - Last Post: 14 December 2012 - 07:42 AM
#1
technical question
Posted 14 December 2012 - 07:13 AM
Well this is not a code problem but still. Imagine yourself writting long code and then realising that you want to put all that code in a loop or an if statement, is there any way to make the gapps appear automatically ?
if you dont understand my question feel free to ask for clarifications
if you dont understand my question feel free to ask for clarifications
Replies To: technical question
#2
Re: technical question
Posted 14 December 2012 - 07:15 AM
By "make the gapps appear automatically" do you mean indent the code? If so, yes, any decent editor will have a feature to automatically indent a selected block of code.
#3
Re: technical question
Posted 14 December 2012 - 07:23 AM
Yes, you can indent automatically, but this indicates that you need to start thinking ahead a little more, and also that you need to start writing in smaller functions.
#4
Re: technical question
Posted 14 December 2012 - 07:30 AM
thanks, both of you but when you say an edditor you mean the python idle ?
cause thats what i use, if i can get something better please let me know
cause thats what i use, if i can get something better please let me know
#6
Re: technical question
Posted 14 December 2012 - 07:39 AM
Select all the code you want to indent. Press the tab key. That'll do the job in most editors.
#7
Re: technical question
Posted 14 December 2012 - 07:42 AM
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote






|