lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I have been working on a plugin for IntelliJ IDEA and the other
JetBrains IDE's. for the past 2 months. The code is still alpha
quality, but I have been using the editor myself and have found it
quite handy.

The current version is working well enough that I thought I would
mention it on the list.

If you would like to try it you can use the free version of IntelliJ
http://www.jetbrains.com/idea/download/

You can enable the plugin by going to the File/Settings menu, then on
the Plugins tab locate and install the Lua plugin from the list of
available plugins.

The project homepage is
http://www.bitbucket.org/sylvanaar2/lua-for-idea/wiki/Home, there are
a couple screenshots and the source code.

Features:
            2 code inspection(s) (just added these)
            Hilighing global vs local variables
            Script execution and run configurations
            Kahlua interpreter window for interactive script execution (repl)
            Comes with an embedded Lua compiler written in Java (LuaJ/Kahlua)
            Structure view
            Syntax checking
            Syntax highlighting - including proper handling of
extended syntax comments and quotes
            Customizable highlighting colors
            Code folding for code blocks and comments
            Brace Matching for do blocks, long strings and comments,
and (, { , [
            Minor feature: comment in/out of selection


It might not be for everyone - it is along the line of LuaEclipse in
that it is hosted by a large IDE.

The one thing I think that my Lua editor does which is unique (or at
least uncommon) is it builds the AST needed for syntax hilighting and
other advanced features using the compiler (LuaJ/Kahlua)

This lets me easily do cool things like hilight global vs local
variables, and I think it holds promise for more advanced
functionality in the future.

So if you are interested do try it out and let me know what you think.