lua-users home
lua-l archive

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


I'm exploring IDLua right now on OS X. A lot of it works as expected (good job, really :-), but I have three problems:

1. (Probably an IntelliJ Idea issue) The Unix directories at the root of my hard drive (/bin, /dev, /etc...) are not displayed in the "open file" dialog. As a consequence, it is not possible to select the system Lua interpreter, which is located in /usr/local/bin on my box. I had to create a symlink in my home directory to add it. I can see all files and folders in the Finder.
2. In the Lua console:
2.1 There's no output. The command history appears above the line, but nothing print()ed or returned is displayed.
2.2 The up/down arrows don't navigate the command history.

Kind regards,
--Pierre-Yves



On Wed, Jun 1, 2011 at 22:05, Patrick Rapin <toupie300@gmail.com> wrote:
> My work on an Eclipse-style Lua IDE has reached a major new milestone and I
> felt it was ready for another [ann].

Thank you for your great work.
I gave a try to IntelliJ IDEA and your Lua plug-in. I tried to setup
the environment in order to run scripts in LuaDura, which is a
slightly modified Lua interpreter with a number of built-in libraries.
Except that I had to rename the executable to lua.exe, it works
perfectly. The editor highlighting is very good, the Lua console works
also surprisingly well. The integrated documentation is great too.

The weakness is probably the auto-completion, which is already quite
interesting but way from being exhaustive. There are a number of cases
where I expected completion and it didn't come.
In particular, functions like collectgarbage take a string as argument
acting like an enumeration value.
Is there a possibility for the IntelliJ IDEA completion engine to list
the possible values after opening the parentheses ?
The standard collectgarbage function is just an example, but there are
plenty of bindings of C or C++ code to Lua, where enum types are
usually handled as strings.