Linux Text Editors (Part 2): Geany

    The first part is here ...

    Geany is a lightweight text editor for Linux based on GTK2. Geany supports internal and external plugins, and it stands out more as a source code editor that includes a simple IDE (integrated development environment).

    Geany only requires GTK2 (> = 2.6.0) libraries (including Pango, Glib, and ATK libraries), and is independent of any X manager or desktop environment. For example, I have Ubuntu 7.10 with all the necessary libraries. You will also need the C / C ++ compiler and the make utility.

    Most Linux distributions have a Geany binary package, but most have not been updated to the current 0.14 release.which is available in the source code. If you want the latest version, then download the archive and compile the project. Geany uses the normal installation process for Linux: configure, make, make install (as root). Complete these steps in the console after loading the tar.bz file into your home directory. If everything went fine, you can start Geany 0.14 with a command from the command line. Fig. 1 Geany text editor By default, Geany displays 3 panels: the main window for the code, the panel on the left and the message area at the bottom. The sidebar has a Tags tab for the structure of variables or tags of the current file and a Documents tab containing a list of open documents. The message area has 5 bookmarks:

    cd ~
    tar -zxvf geany-0.14.tar.gz
    cd ./geany-0.14
    ./configure
    make
    sudo make install




    geany

    Geany - launch


    Status - internal messages of Geany, Compiler - messages of the compiler, Messages - main messages of Geany, Notes - here you can write anything and the terminal window in Geany. Fig. 2 shows the settings dialog box (opens in the “Edit” -> ”Options” menu [Ctrl + Alt + P]), which contains tabs of options for configuring Geany. Fig. 2 Geany text editor - settings

    Geany - settings


    Geany supports any developers needs for editing source code, including cutting and pasting text, searching (including searching using regular expressions), moving text, highlighting paragraphs of code, dividing code into modules, syntax highlighting (for more than 30 programming languages), wrapping lines, conversion of empty space and tabs, column mode, tree structure of functions and variables, drag & drop editing, standard undoing of actions [ctrl-z], as well as many other useful functions. Some of the functions are shown in Fig. 3. Fig. 3 Geany text editor - working with PHP code

    Geany - working with PHP code


    For me, this editor was a pleasant discovery; it combines the simplicity of a text editor with manners for a full-fledged and powerful IDE. I really like the automatic tips for continuing the function name, as well as the tooltip with the available function parameters. This editor is extensible by plugins.
    After working in the editor there are only pleasant feelings: wink :. Since I have to work periodically on Linux, then on Windows, I was also glad that there is a distribution kit for the editor for Windows.

    Also popular now: