Simple to implement Block Comment enhancement idea

optionally, instead of this …
INSERT INTO tbillingrategroup_history
(billingrategroup_hist_key,
key2tbillingrategroup,
billingrategroup_name,
– billingrategroup_descr,
– inherited_from_billgrp_or_pgm,
– ratevalue,
– ratestartdate,
– rateenddate,
– approvalflag2tcode,
activeflag,
campaign2tx_cap_total)
VALUES

do …

  INSERT INTO tbillingrategroup_history

     (billingrategroup_hist_key,

      key2tbillingrategroup,

      billingrategroup_name,

     --billingrategroup_descr,

     --inherited_from_billgrp_or_pgm,

     --ratevalue,

     --ratestartdate,

     --rateenddate,

     --approvalflag2tcode,

      activeflag,

      campaign2tx_cap_total)

  VALUES

As it is now, whenever I want to comment a block, I first use the block
“Decrease Indent” and push text all the way to the left. Then I do the block
comment. Then I push the text back to the right with the “Increase Indent”.

Regards,

Mike

We would need to option that as some may not prefer that behavior. Delphi’s IDE
will place comment characters at the far left which is handy to quickly see
which lines are commented out even when they may be included in a selection such
that syntax highlighting can’t be used to see the commented code.

Toad 11 introduces a powerful new search/replace macro feature that you can use
to create custom searches (and replace) to recall as needed. The following
screenshots demonstrate one for block commenting as you prefer. After seeing up
the search and replace options I saved them as a macro using the highlighted
toolbar and recalled it via the little dropdown to the right of the replace
button on the Editor’s toolbar.
image003.png

We would need to option that as some may not prefer that behavior. Delphi’s IDE
will place comment characters at the far left which is handy to quickly see
which lines are commented out even when they may be included in a selection such
that syntax highlighting can’t be used to see the commented code.

Toad 11 introduces a powerful new search/replace macro feature that you can use
to create custom searches (and replace) to recall as needed. The following
screenshots demonstrate one for block commenting as you prefer. After seeing up
the search and replace options I saved them as a macro using the highlighted
toolbar and recalled it via the little dropdown to the right of the replace
button on the Editor’s toolbar.
image001.png

We would need to option that as some may not prefer that behavior. Delphi’s IDE
will place comment characters at the far left which is handy to quickly see
which lines are commented out even when they may be included in a selection such
that syntax highlighting can’t be used to see the commented code.

Toad 11 introduces a powerful new search/replace macro feature that you can use
to create custom searches (and replace) to recall as needed. The following
screenshots demonstrate one for block commenting as you prefer. After seeing up
the search and replace options I saved them as a macro using the highlighted
toolbar and recalled it via the little dropdown to the right of the replace
button on the Editor’s toolbar.
image002.png

That search and replace macro feature is extremely cool powerful and useful. Is
there a way to assign a keyboard shortcut to such a macro?

Nate Schroeder

Enterprise Services - Data Management Team

Monsanto Company

800 N. Lindbergh Blvd. LC4D - Saint Louis, MO - 63167

314-694-2592
image001.png

That search and replace macro feature is extremely cool powerful and useful. Is
there a way to assign a keyboard shortcut to such a macro?

Nate Schroeder

Enterprise Services - Data Management Team

Monsanto Company

800 N. Lindbergh Blvd. LC4D - Saint Louis, MO - 63167

314-694-2592
image002.png

That search and replace macro feature is extremely cool powerful and useful. Is
there a way to assign a keyboard shortcut to such a macro?

Nate Schroeder

Enterprise Services - Data Management Team

Monsanto Company

800 N. Lindbergh Blvd. LC4D - Saint Louis, MO - 63167

314-694-2592
image003.png

Not at this time, but we could work something out. Most likely a popup select
list similar to others used in the Editor would be ideal.
image003.png

Not at this time, but we could work something out. Most likely a popup select
list similar to others used in the Editor would be ideal.
image002.png

Not at this time, but we could work something out. Most likely a popup select
list similar to others used in the Editor would be ideal.
image001.png

Yep, it would have to be an option which is why I started with the word
‘optionally’. :wink:

The TOAD 11 solution looks Perfect! Can’t wait to get it.

I know this is a small thing, but I really do use the comment block feature A
LOT and having to push-to-the-left/comment-block/push-to-the-right, is a real
time waster.

Thanks Michael!

Michael

On Mon, Feb 28, 2011 at 11:00 AM, Michael Staszewski <
michael.staszewski@quest.com > wrote:

Not at this time, but we could work something out. Most likely a popup
select list similar to others used in the Editor would be ideal.

image001.png

Yep, it would have to be an option which is why I started with the word
‘optionally’. :wink:

The TOAD 11 solution looks Perfect! Can’t wait to get it.

I know this is a small thing, but I really do use the comment block feature A
LOT and having to push-to-the-left/comment-block/push-to-the-right, is a real
time waster.

Thanks Michael!

Michael

On Mon, Feb 28, 2011 at 11:00 AM, Michael Staszewski <
michael.staszewski@quest.com > wrote:

Not at this time, but we could work something out. Most likely a popup
select list similar to others used in the Editor would be ideal.

image002.png

Yep, it would have to be an option which is why I started with the word
‘optionally’. :wink:

The TOAD 11 solution looks Perfect! Can’t wait to get it.

I know this is a small thing, but I really do use the comment block feature A
LOT and having to push-to-the-left/comment-block/push-to-the-right, is a real
time waster.

Thanks Michael!

Michael

On Mon, Feb 28, 2011 at 11:00 AM, Michael Staszewski <
michael.staszewski@quest.com > wrote:

Not at this time, but we could work something out. Most likely a popup
select list similar to others used in the Editor would be ideal.

image003.png

Toad 11 should have you covered then. If you’d still like to see a change to the
existing block comment stuff then please add an item in the IdeaPond for it.

Michael
image003.png

Toad 11 should have you covered then. If you’d still like to see a change to the
existing block comment stuff then please add an item in the IdeaPond for it.

Michael
image002.png

Toad 11 should have you covered then. If you’d still like to see a change to the
existing block comment stuff then please add an item in the IdeaPond for it.

Michael
image001.png

Hi Michael

A proper implementation of the “vertical editor” would help also:

Explanation:

http://devnet.kentico.com/Blogs/Thomas-Robbins/April-2010/Cool-Visual-Studio-2010-Feature--Vertical-Editing.aspx

Please vote:

http://toadfororacle.ideascale.com/a/dtd/allow-vertical-edit-mode-to-enter-text/76753-8477

:wink:

Thanks,

Patrik

Von: toad@yahoogroups.com [mailto:toad@yahoogroups.com] Im Auftrag von Michael
Moore
Gesendet: Montag, 28. Februar 2011 19:25
An: toad@yahoogroups.com
Betreff: [toad] Simple to implement Block Comment enhancement idea

optionally, instead of this …
INSERT INTO tbillingrategroup_history
(billingrategroup_hist_key,
key2tbillingrategroup,
billingrategroup_name,
– billingrategroup_descr,
– inherited_from_billgrp_or_pgm,
– ratevalue,
– ratestartdate,
– rateenddate,
– approvalflag2tcode,
activeflag,
campaign2tx_cap_total)
VALUES

do …

INSERT INTO tbillingrategroup_history

(billingrategroup_hist_key,

key2tbillingrategroup,

billingrategroup_name,

–billingrategroup_descr,

–inherited_from_billgrp_or_pgm,

–ratevalue,

–ratestartdate,

–rateenddate,

–approvalflag2tcode,

activeflag,

campaign2tx_cap_total)

VALUES

As it is now, whenever I want to comment a block, I first use the block
“Decrease Indent” and push text all the way to the left. Then I do the block
comment. Then I push the text back to the right with the “Increase Indent”.

Regards,

Mike

When this first came up in September of last year I logged a request for the
component developer. The status of it is still “New” so nothing has been done
yet. This change needs to be implemented within the memo control and is out of
my comfort zone.

Michael

What do you want to emphasize?

That it is useless to vote for editor features?

:wink:

Patrik

Von: toad@yahoogroups.com [mailto:toad@yahoogroups.com] Im Auftrag von Michael
Staszewski
Gesendet: Donnerstag, 3. März 2011 16:23
An: toad@yahoogroups.com
Betreff: RE: [toad] Simple to implement Block Comment enhancement idea

When this first came up in September of last year I logged a request for the
component developer. The status of it is still “New” so nothing has been done
yet. This change needs to be implemented within the memo control and is out of
my comfort zone.

Michael

Böschenstein,

It would be WONDERFUL if the editor could do that. I don’t know how many
times I’ve had to insert a comma in front of each number of a list of
numbers aligned vertically on the screen.

123459

,586960

,383747

,282839

Usually I end of copying the list to Excel and doing it there.

Even the old TSO/ISPF editor in the 70’s used to be able to easily do this.
I don’t really want have to come up with complex regular expressions to do
vertical editing.

Regards,

Mike

On Thu, Mar 3, 2011 at 5:06 AM, Böschenstein Patrik <
boeschenstein@infosystem.ch > wrote:

Hi Michael

 

A proper implementation of the “vertical editor” would help also:

Explanation:

http://devnet.kentico.com/Blogs/Thomas-Robbins/April-2010/Cool-Visual-Studio-2010-Feature--Vertical-Editing.aspx

Please vote:

http://toadfororacle.ideascale.com/a/dtd/allow-vertical-edit-mode-to-enter-text/76753-8477

:wink:

Thanks,

Patrik

 

Von: toad@yahoogroups.com [mailto: toad@yahoogroups.com ] Im Auftrag von
Michael Moore
Gesendet: Montag, 28. Februar 2011 19:25
An: toad@yahoogroups.com
Betreff: [toad] Simple to implement Block Comment enhancement idea

 

 

optionally, instead of this ...
      INSERT INTO tbillingrategroup_history
         (billingrategroup_hist_key,
          key2tbillingrategroup,
          billingrategroup_name,
--          billingrategroup_descr,
--          inherited_from_billgrp_or_pgm,
--          ratevalue,
--          ratestartdate,
--          rateenddate,
--          approvalflag2tcode,
          activeflag,
          campaign2tx_cap_total)
      VALUES

 

do ...

      INSERT INTO tbillingrategroup_history

         (billingrategroup_hist_key,

          key2tbillingrategroup,

          billingrategroup_name,

         --billingrategroup_descr,

         --inherited_from_billgrp_or_pgm,

         --ratevalue,

         --ratestartdate,

         --rateenddate,

         --approvalflag2tcode,

          activeflag,

          campaign2tx_cap_total)

      VALUES

 

As it is now, whenever I want to comment a block, I first use the block
"Decrease Indent" and push text all the way to the left. Then I do the block
comment. Then I push the text back to the right with the "Increase Indent".

 

Regards,

Mike