Arcadia Ide

version 0.9.3

by Antonio Galeone on Feb 12, 2011

About

Arcadia is a Light Integrated Development Environment (IDE) for Ruby language written in classic Ruby using the classic tcl/tk GUI toolkit.

Some of Arcadia ide project features include:

  • Editor with source browsing, syntax highlighting, code completion

  • Debugging support

  • Working on any platform where ruby and tcl-tk work.

  • Highly extensibility architecture.

In this release 0.9.3

Improvements
  • bugs fixed

Dependencies

- rubygems
- ruby-tk
- tcl/tk
- ack (optional)
- gem coderay
- gem ruby-debug (ruby-debug19 on ruby 1.9)
- gem win32-process (only on windows)
- gem ruby-wmi (only on windows)

How to install

There are two way:

  1. exec as root on command line “gem install arcadia” or as user “sudo gem install arcadia”

  2. using archive distribution

    1. untar (on unix) (tar -xzf) arcadia-<version>.tar.gz

    2. unzip (on windows) arcadia-<version>.zip

How to run

  • exec on command line “arcadia” or “ruby <path/>arcadia”

Short User guide

Application layout is splitted in vertical and horizontal resizing frames. On vertical and horizontal splitter appear two button for left or right one shot frame close. Every frame has a title, a button to expand or resizing it and a menu-button for the dynamic layout functions.

Main Toolbar

The toolbar button are in order:

  • new, open, save, find (relatively to edit/find operation)

  • run current, run last (for execute the raised file in the editor or the last runned file)

    after “run current” there is a menubutton to choose a configurated runner to apply at current file

  • debug current, debug last, quit debug panel (for debug need)

  • quit (to exit from arcadia)

Editor

Editor use the notebook metaphor. Same command are on the popup menu that is raised on “Button-3” click event fundamentally for closing the tab under the mouse pointer. These are same editor short-cut:

  • Ctrl-c => copy selected text

  • Ctrl-v => paste copied text

  • Ctrl-x => cut selected text

  • Ctrl-g => show go to line dialog

  • Ctrl-o => shoe open file dialog

  • Ctrl-z => undo

  • Ctrl-r => redo

  • Ctrl-f => copy the selected text on input combobox of find dialog and moves focus

  • Ctrl-s => save

  • Ctrl-space or esc => completion code

  • Ctrl-shift-i or Tab => indent the selected block

  • Ctrl-shift-u or Shift-Tab => unindent the selected block

  • Ctrl-shift-c => comment/uncomment the selected code block

  • Alt-shift-a => select all

  • Alt-shift-i => invert selection

  • Alt-shift-u => selected to uppercase

  • Alt-shift-l => selected to lowercase

  • F5 => execute the current file

  • F3 => find/ find next

  • Ctrl-F3 => Search in files

  • Double-Click on line number set or unset a debug breakpoint

Project drawer

It is a navigational tree:

  • open or create dir as project

  • make commons file system activity (by contextual menu)

File history

The last used files are organizing in tree so you can reopen them or there

directory by clicking on the tree node.

Debug

Require ruby-debug gem. It is created when a debug session init. The debug button are: Step Next, Step Into, Step Over, Resume and quit. The debug frame show the local, instance and global variables for each step.

Configuration

Same Arcadia properties are locally configurabled by editing the file arcadia.conf under ~/.arcadia directory. The format of property definition are: <OPERATING SYSTEM IDENTIFY::>PROPERTY_NAME=PROPERTY_VALUE

I have tested arcadia with ruby 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.9.1, 1.9.2 on

  • Archlinux

  • Fedora

  • Ubuntu

  • FreeBsd6.x, FreeBsd7.x,

  • Vector linux 5.*,

  • Windows 2000/XP/7,

  • Cygwin (note: same page fault error on dll under cygwin may be solved in this way: by ash.exe exec “/bin/rebaseall”).

If you will test arcadia on other operating system sends me an e-mail.

Developers e general information

Released on arcadia web site (arcadia.rubyforge.org)

License

Arcadia is released under the Ruby License

Contacts

For all questions: [email protected]

For bugs, support request, features request: github.com/angal/arcadia/issues

Repository at: github.com/angal/arcadia/tree/master