Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 7 Online
OpenStudy (anonymous):

I'm having a lot of issues with indentation. I use notepade++ and have been in the habit of using tab key to indent but this causes issues with the downloaded assignments as the instructors seem to be using a space indentation. Is there a way to just convert files before I begin working on them? Or should I just get in the habit of using their spaces. Its really a headache to realize that the spaces are all out of whack after I've started and try to correct them.

OpenStudy (anonymous):

why not download IDLE? an IDE (integrated development environment) solve that problem

OpenStudy (anonymous):

Well this site seemed to help if anyone had the same issue I did: http://stackoverflow.com/questions/455037/notepad-tabs-to-spaces

OpenStudy (anonymous):

just use IDLE.IT will do it automatically.

OpenStudy (anonymous):

The other option is to continue to use notepad++, but to change the settings so that it uses 4 spaces for indenting rather than tabs. It's one of the options you can specify to use spaces for tabs, and set the indention width. Settings -> Preferences... -> Language Menu/Tab Settings -> Tab Settings (group) -> Replace by space

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!