Is there any simple SQL editor plugin for Eclipse?
By simple I mean, the editor does NOT connect to any DB, does syntax highlighting and preferably formatting sql is a bonus.
Is there any simple SQL editor plugin for Eclipse?
By simple I mean, the editor does NOT connect to any DB, does syntax highlighting and preferably formatting sql is a bonus.
The eclipse SQLExplorer plugin seems light enough, and comes with a basic SQL editor (but no "format" option):
alt text
The official DTP DataTool Project is much complete, but have also its own editor:
QuantumDB is also a lightweight option that I really liked.
http://quantum.sourceforge.net/
Use Toad eclipse-extension (community edition), you will get almost everything you want in an SQL editor. Search for 'toad' in eclipse market place. It has very good Oracle, MySQL and PostgreSQL support.
Take a look at Installation instructions and screenshots.
Alternatively, there is DBeaver (very good in my experience and support almost all DB's) which is built on eclipse platform and available as standalone and eclipse plugin.
This Eclipse SQL Editor seems very lightweight. It only does syntax highlighting and provides an outline view. As of now the author is planning to eventually add code folding and completion, but those two features are still on the todo list.
Just found DBeaver : http://dbeaver.jkiss.org/
looks good, plenty of features, support mssql (which I need in the moment :) ... I'll give it a try ...
for reference to add sql syntax highlighting / coloring to eclipse you can install
Data tools platform extender sdk
from "install new software", underDatabase Development
or enter site location directly http://download.eclipse.org/datatools/updates