Skip site navigation (1) Skip section navigation (2)

Ctrl + K - add some productivity :)

From: Nail Samatov <nail(dot)samatov(at)googlemail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Ctrl + K - add some productivity :)
Date: 2010-11-22 17:21:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers

I find this patch make more convenient (un)commenting lines in sql
editor and I think such behavior is much more like other IDE's.

1. When press Ctrl + K on a selected text: If a selected text ends
with '\n' then a comment after it is not added.
2. If there is no selection: comment a several lines by pressing Ctrl
+ K repeatedly.

Can you apply it to official release?
(1) fixes some unintuitive behavior
With (2) you can quickly (un)comment several lines (no need to select
a line with mouse or keyboard etc - just press Ctrl + K)

Best regards,
Nail Samatov

Attachment: 0001-1.-When-press-Ctrl-K-on-a-selected-text-If-a-selecte.patch
Description: application/octet-stream (2.9 KB)


pgadmin-hackers by date

Next:From: Dave PageDate: 2010-11-22 20:38:31
Subject: pgAdmin III commit: Improve the commenting logic in the SQL text box,t
Previous:From: Dave PageDate: 2010-11-22 14:26:39
Subject: pgAdmin III commit: Ensure we use the appropriate SDK for modernbuilds

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group