打开菜单Tools-->Preferences
选中AutoExecute quereis和AutoSelect statement就ok了
关键点在sql窗口中光标坐在行要有分号";"结尾,这样执行的时候当前行会有背景色显示