From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: [pgAdmin4][Patch]: Allow user to Comment/Uncomment code in query editor |
Date: | 2017-07-17 09:03:41 |
Message-ID: | CA+OCxoxuibXvEH+hZr7Gs1==m-qJv0C-h_kkeu4C4f19crBTeQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi
On Wed, Jul 12, 2017 at 1:16 PM, Murtuza Zabuawala <
murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:
> Hi,
>
> PFA patch which will add functionality to allow user to comment/uncomment
> code in query editor.
> RM#2456
>
This is cool, but I'm not sure it's right as-is:
* I prefer SQL style commenting, e.g.
-- This is a comment
Should we make that a config option if CodeMirror can do it? Or a different
hotkey?
* You've added it as an option to the Clear XXX dropdown, which really
isn't the right place in my opinion. Should we add a new drop down for
this, and include some/all of the other Editing options on there? E.g.
tab/shift-tab.
* I think the docs should say Ctrl+Shift+/ rather than Shift+Ctrl+/, and be
ordered in the table to reflect that. It seems more natural to me.
Thoughts?
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2017-07-17 09:09:49 | Re: [RM2544][pgAdmin4] Fix for malformed query generated when using custom type |
Previous Message | Surinder Kumar | 2017-07-17 08:55:39 | Re: [pgAdmin4]: Webpacking of static JS/CSS |