José F. Romaniello

Las aventuras y desventuras de un codificador.

I started to work in an HQL addin for Visual Studio two weeks ago. As described in the project site:

This Visual Studio addin will provide the following features for the HQL file extension:
-syntax highlighting (done),
-syntax checking (done)
-intellisense (not yet)

Currently the addin support syntax highlighting and checking as you can see in the following screenshot:


One of the more interesting part of this, is that I have not implemented a parser or anything. I have only used the lexer and the parser inside NHibernate 3, so these features will be up to date always. In fact you can see the error “No viable alternative” that is common for most of the ANTLR parsers.

My idea is to support Intellisense as well, so I have reached Felice Pollano. He already has done a lot of work for other application named NHWorkBench and we are willing to cooperate for the intellisense part.

There is a step by step guid on how to use “hql” files with nhibernate here.

I have published an alpha release in the Visual Studio Online Gallery, so is very easy to install it:


If you are doing HQL have a look to my pluggin and let me know your comments!

| More

5 comentarios:

Not sure why support VisualStudio instead of open source IDE, which are a dozen times faster, and as capable.
But anyways congratulations on starting this addin

This is truly great Jose.  Would love to see that intellisense :)

José F. Romaniello dijo...

<span>Because I don't use an opensource IDE. do you? Do you want to add support for MonoDevelop or SharpDevelop? I can help you!</span>

José F. Romaniello dijo...

<span>Thank you, you will see intellisense soon,</span>

At the moment i am not working in .Net/Mono world, switched for a while to Python.
thanks for your suggested help, i will keep that in mind ;)

Publicar un comentario en la entrada