All Projects → ronsaldo → phanide

ronsaldo / phanide

Licence: MIT License
Phanide - Pharo Native IDE

Programming Languages

smalltalk
420 projects

Phanide - Pharo Native IDE


Loading

Loading just the Phanide Browser

Metacello new
  baseline: 'Phanide';
  repository: 'github://ronsaldo/phanide';
  load.

Loading the Phanide browser and the Phanide library

The Phanide library provides an event based API for asynchronous external process IO (Used to communica with the GDB Machine Interface), and for monitoring the file system. This library is currently only supported on Linux, but there are plans to support it on OS X and Windows. For loading this, use the following script:

./newImage.sh

Usage

Browsing a directory

Do the following in a workspace:

'.' browseDirectory

For browsing a directory in a external window, you can do the following (Note: currently there is a bug with the OS X version of OS Window, that will prevent you of receiving mouse events on the external window):

'.' browseDirectoryInExternalWindow

Inspecting a file with syntax highlighting

The Phanide syntax highlighters are also registered with FileReferences in the GTInspector, so for example you can just inspect C file for gettings syntax highlighting:

'hello.c' asFileReference inspect

Extending the syntax highlighting

Regex based syntax highlighting

For an example of a Regex based syntax highlighter, check the method PhanideStyler class >>> #c

Petit parser based syntax highlighting

For an example of a Petit Parser based syntax highlighter, check the method PhanideStyler class >>> #json, and the PhanideJSONSyntaxHighlighter class.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].