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.
|Summary:||allow to run partial queries not only from context menu|
|Component:||Code||Assignee:||Jaroslav Havlin <jhavlin>|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
proposed patch v1
Description medeag 2011-12-02 05:26:58 UTC
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)?
Comment 1 matthias42 2011-12-02 22:06:43 UTC
Created attachment 113782 [details] proposed patch v1 It is - and it is easy :-) I added another icon and wired it to the existing action.
Comment 3 Jaroslav Havlin 2013-02-20 15:11:51 UTC
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
Comment 4 Quality Engineering 2013-02-23 04:11:29 UTC
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 <email@example.com> Log: #205819: Allow to run partial queries not only from context menu