1
Every file in the eclipse is linked to a text editor (some Highlight in specific). You can configure this through the menu: Window>preferences. In threeview the left go in General>Editors>File Association.
On that screen first add the extension *.sql on the button add in the upper left corner.
Then with selected extension add the desired text editor, text editor for simple texts.


You’re using the eclipse?
– rray