Menu

Eclipse SQL Editor Plugin

March 07, 2006

I wanted to find out how hard it is to build a language editor in Eclipse. Back then I didn’t know of any open-source SQL editor (and there wasn’t one for Eclipse either), so I started with a small prototype as an experiment.

Note: This article was written in 2006. For that reason, the screenshots show an older version of Eclipse.

The editor supports syntax highlighting.

It also has a rudimentary form of auto-completion—in this case, it only inserts the keyword "SELECT".

And it can render query results in a tabular view.

Takeaway: once I got used to Eclipse’s architecture and conventions, it was surprisingly straightforward.

categorySoftware Engineering