See the image:
Whenever I click on the selected file that is an SQL file it opens the Mysql Workbench, it was to open a file in spring tools.
This should be some IDE configuration, would anyone have a suggestion to help me?
Every file in eclipse is linked to a text editor (some highlight in specific). You can configure this through the menu: Window>preferences
. In the left threeview go to General>Editors>File Association
.
On this screen first add the *.sql
extension on the add
button in the upper left corner.
Then with extension selected add the desired text editor, text editor for simple texts.