Philadelphia Python Workshop/Setup/Linux text editor: Difference between revisions

no edit summary
imported>Abatula
No edit summary
imported>Abatula
No edit summary
Line 23:
# Save the settings by pressing <code>Ctrl+s</code> or clicking on File, then Save.
# Now every time you press the tab key, it should insert four spaces instead of a tab.
 
 
== Komodo Edit ==
Line 44 ⟶ 43:
# In both Global Indentation Settings and Per Language Indentation Settings, make sure Prefer Tab characters over spaces is UNchecked, and make sure both fields for Number of spaces per indent and Width of each Tab character are 4.
# Click on OK. Now the editor should add four spaces instead of a tab character when you press the tab button.
 
 
== GEdit ==
Line 70 ⟶ 68:
 
That's it! Now, you can hit tab to indent your code, and that indentation will actually be made of spaces. This change will help you use spaces consistently, so that Python doesn't get confused about whitespace.
 
 
== Success! ==
Anonymous user