Boston Python Workshop 4/Friday/Linux text editor: Difference between revisions
Content added Content deleted
imported>Jesstess (Created page with '== How to find gedit in the Applications list == On Linux, we suggest the GEdit text editor. GEdit should already be installed on your computer. To start GEdit: click Applicat…') |
imported>Paulproteus |
||
Line 12: | Line 12: | ||
gedit & |
gedit & |
||
</pre> |
</pre> |
||
== Configure gedit to indent with spaces == |
|||
* Click Edit -> Preferences |
|||
* Select the tab labeled "Editor" |
|||
* In the "Tab width" field, set it to '''4''' (the default is 8) |
|||
* '''Check''' the box labeled "Insert spaces instead of tabs" |
|||
* '''Check''' the box labeled "Enable automatic indentation" |
|||
* Click Close. |
|||
== Success! == |
== Success! == |
Revision as of 15:02, 28 September 2011
How to find gedit in the Applications list
On Linux, we suggest the GEdit text editor.
GEdit should already be installed on your computer. To start GEdit: click Applications, point to Accessories, and click Text Editor. If you don't have this option, let a staff member know.
How to find GEdit from a terminal
If you prefer to start applications from a terminal, you can type the following into a terminal to launch GEdit:
gedit &
Configure gedit to indent with spaces
- Click Edit -> Preferences
- Select the tab labeled "Editor"
- In the "Tab width" field, set it to 4 (the default is 8)
- Check the box labeled "Insert spaces instead of tabs"
- Check the box labeled "Enable automatic indentation"
- Click Close.
Success!
If you prefer a different editor for text, check with an instructor before moving on to make sure it will work for the weekend.