Hi Colin,
I almost thought you "despised the small beginngs" ;-).
I must admit that getting to where I am now was far more effort than I
thought. It still happens, it seems - after so many years.
I have now reached a point where completion for all DML statements works
fairly well (I hope). I have also created a SQuirrel plugin, which is
based on the default entry panel (see doc/readme.html). This should be a
better demonstration than the little program before.
Of course, there are still lots of improvements to make.
The "Table/Column Chooser" is a hack - maybe someone with more swing
enthusiasm can give a hand here. It seems rather inefficient to load all
tables into the list - maybe there should be a facility to narrow the
selection before it is displayed.
The completion itself needs to be tested. It can also be made yet more
intelligent. DDL statements are not supported (but what would you want
to complete there?).
Once integrated with the JEdit plugin, syntax errors and invalid
table/column names can be marked on the fly.
My development progress will now be much slower for a while, because I
have been called upon by a customer. This will keep me rather busy until
the end of the year. If anyone has something to contribute - go ahead
and let me know.
BTW, I did not find any easy way to debug plugins from within my IDE. I
ended up creating a "dummy" jar file with just the XxPlugin class
inside, and keeping that in the appropriate directory for Squirrel to
load. I could then debug the rest of the code as usual. Do you have any
better suggestions?
regards,
Christian
Colin Bell wrote:
> Hi Christian,
>
>
>>I have just uploaded my first presentable (I think) - yet experimental -
>>version of the code completion engine to CVS. It consists of the
>>components jcoco and jcomplete, both under the squirrel-sql/work
>>directory. There is some more doco in jcomplete/doc/readme.txt.
>
>
> I finally had a look at your code completion engine - looks good!
> Obviously needs more work but its further along than I expected for
> the short time frame.
>
> Let me know what infrastructure you need within Squirrel to support
> for engine.
>
|