Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:handbook:development [2010/08/17 21:36] linea |
en:handbook:development [2016/10/24 16:24] hgt IDE Geany replaced by Beaver |
||
---|---|---|---|
Line 17: | Line 17: | ||
</code> | </code> | ||
- | Now that you have a new executable file, you can edit it. You can continue to stay in the terminal and use the Nano editor (Ctrl + x to save & exit) or IDE Geany to edit: | + | Now that you have a new executable file, you can edit it. You can continue to stay in the terminal and use the Nano editor (Ctrl + x to save & exit) or IDE Beaver to edit: |
<code> | <code> | ||
$ nano script.sh | $ nano script.sh | ||
Or : | Or : | ||
- | $ geany script.sh & | + | $ beaver script.sh & |
</code> | </code> | ||
Line 54: | Line 54: | ||
</code> | </code> | ||
- | ===== Geany IDE ===== | + | ===== Beaver ===== |
- | Geany is an IDE or Integrated Development Environment. Geany is simple, quick and light, offering colored syntax, tabs and auto completion. Geany was used to create this page and most of the website documentation (with a little bit of Nano as well). | + | Beaver is a simple, lightweight and fast code editor offering syntax. Beaver can be found in the Menu -> Development -> Code Editor. Once launched for the first time you can adjust your preferences through the Edit button. You can run it through a X terminal with the following command: |
- | === Launch Geany === | + | <code> $ beaver & </code> |
- | You will find Geany in the //menu --> Development --> Geany//. Once launched for the first time, you can adjust your preferences via Edit --> Preferences. You can also launch Geany via a terminal: | + | ===== Geany IDE===== |
- | <code> $ geany & </code> | + | Geany is an IDE, or Integrated Development Environment. It is a simple, small and lightweight application, offering syntax, tabs and self-completion. |
- | Note when compiling the source code, the ./configure script offers the option: //-enable-the-force//... Which you can use if you ever feel the need to become Luke Skywalker! | + | ==== Executing Geany ==== |
+ | |||
+ | You can install Geany: | ||
+ | |||
+ | <code># tazpkg get-install geany</code> | ||
+ | |||
+ | After it runs for the first time, you can set your preferences through the menu //Edit// --> //Preferences// option. It is also possible to run Geany via terminal: | ||
+ | |||
+ | <code>$ geany &</code> | ||
+ | |||
+ | Note: when compiling source code, the //./configure// script offers the //-enable-the-force// option, which you could use if you feel the need to became a Jedi warrior! | ||
===== Perl or Microperl - Code/use Perl scripts ===== | ===== Perl or Microperl - Code/use Perl scripts ===== | ||
Line 78: | Line 88: | ||
=== Hello world! === | === Hello world! === | ||
- | The purpose of this script is to display Hello World. You can start by creating the file and making it executable on the command line and then editing with IDE Geany. Note the script is called hello.pl, but you can name it as you see fit, with or without the .pl extension: | + | The purpose of this script is to display Hello World. You can start by creating the file and making it executable on the command line and then editing with Beaver. Note the script is called hello.pl, but you can name it as you see fit, with or without the .pl extension: |
<code> | <code> | ||
$ touch hello.pl | $ touch hello.pl | ||
$ chmod +x hello.pl | $ chmod +x hello.pl | ||
- | $ geany hello.pl & | + | $ beaver hello.pl & |
</code> | </code> | ||