views:

215

answers:

3

Hello,

Is there any SQL editor that supports syntax highlighting, automatic code formatting and code folding? I found this, but it's an Eclipse plugin (I'm a NetBeans user), and cannot automatically format code, which is the most important feature I'm after.

Autocompletion is not important, nor is the possibility of running the code (like the SQL editor in NetBeans).

Edit: I'm sorry for not specifying, I'm looking for Linux or even web-based software.

+1  A: 

Programmers Notepad is a nice little application.

Sres
I'm sorry, I forgot to mention that I'm interested in a Linux or web-based program.
Victor Stanciu
Unfortunately I cannot help you there :)
Sres
A: 

Use VIM.

See this link on how to set it up:

http://www.faqs.org/docs/Linux-HOWTO/Vim-HOWTO.html

Cobusve
+1  A: 

SQuirreL ticks a lot of your boxes, and has formatting and other plugins and runs on Linux

I'd give it a try at least

gbn
Wow, I installed it, installed the MySQL JDBC connector, and it works perfectly! Thank you! I will accept this answer as soon as SO lets me :)
Victor Stanciu