Intellj idea plugin - 0.8

8 views
Skip to first unread message

Peter Broadbery

unread,
Mar 23, 2017, 4:46:57 AM3/23/17
to aldor...@googlegroups.com

I've put together a fairly simple intellj plugin for aldor: https://github.com/pbroadbery/aldor-idea-plugin
Look under releases.

It supports syntax highlighting,  symbol navigation, and docs.  There's also reasonable coverage for .spad code.

This release isn't the finished product, but contains enough that it can be used.

To use, create a new empty spad/aldor project in a new directory containing a  checked out copy of the aldor or fricas github repo. 

After a (potentially long) index update, edit files. Useful keys..
Ctrl q - show docs
Ctrl mouse hover - show identifier type (aldor only)
Ctrl n - find type (ctrl q works in this context too)
Ctrl-alt-N - find symbol

"Type" is a top level symbol, or spad abbrev.
Symbol is any defined item in a with body.

One if the reasons for this pre release is a lack of time on my part.  Please feel free to play with the code. In particular:
- doc gen could be better
- parsers are slow, with a horrid grammar
- could be more tie in with aldor/fricas to allow live type deductions.


Peter.

Known issues: pile/spad mode sometimes parses incorrectly.
Error feedback on aldor compilation is hidden in the messages window
Sometimes a bit slow.  A fast pc is recommended.
Tested under Linux ubuntu only.
Reply all
Reply to author
Forward
0 new messages