This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently we can only run selection from context menu, i find this a little bit inconvenient. Is it possible to implement same functionality with run sql icon(like in pgAdmin3)?
Created attachment 113782 [details] proposed patch v1 It is - and it is easy :-) I added another icon and wired it to the existing action.
Created attachment 113783 [details] potential icon
Thank you for the patch, Matthias! I've added some changes: If no text is selected, and the cursor is at the end of line, the statement that ends at that line is used as selected statement. The border of the icon was slightly sharpened, as it seemed a little blurry with my L&F to me. Integrated as http://hg.netbeans.org/core-main/rev/e2f17410b099
Integrated into 'main-golden', will be available in build *201302222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e2f17410b099 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #205819: Allow to run partial queries not only from context menu