gedit is a text editor for the GNOME desktop environment, Mac OS X and Microsoft Windows. Designed as a general purpose text editor, gedit emphasizes simplicity and ease of use. It includes tools for editing source code and structured text such as markup languages.[1]
Contents
Installation[edit]
Linux[edit]
- As root or with sudo prepended
RedHat, Fedora, CentOS, Scientific Linux[edit]
yum install gedit yum install gedit-plugins
Debian, Ubuntu[edit]
apt-get install gedit apt-get install gedit-plugins
Mac OS X[edit]
- gedit binaries (choose the most suitable for your Mac OS X version (3.2)
- At the time of writing, 2013-10-25, last versions do not work with Mavericks. You can use previous one.
Windows[edit]
- gedit last Win32 binary (2.30)
Configuration[edit]
In order to help following MediaWiki coding convetions and making programming easier for you, you may enable some of the installed plugins.
Plugins selection[edit]
- We suggest the following ones:
- Bracket completion: it helps to have blocks of code properly delimited. Otherwise you will learn about any error caused by a missing bracket when you load the extension.
- Code comment: it allows comment/uncomment a whole bunch of code. This makes trying things easier.
- Draw spaces/tabs: it ensures avoiding having a mix of both of them.
- Indent/unindent lines: you can also perform this by using Tab or Shift+Tab
etc.
View preferences[edit]
- we highlight:
- Display line numbers: when warnings or errors happen, you can easily find the issue
- Highlight current line: it helps knowing where you are
- Highlight matching bracket: it helps designing the programming blocks
Editor preferences[edit]
- we highlight:
- Using a width of 4, as suggested by MediaWiki coding style. In any case, this is only a visual thing and has no effect in the code
- We will NOT insert spaces instead of tabs
- Automatic indentation may help you writing code faster
References[edit]
- ↑ Extracted from Wikipedia page