Introduce an 'invert comment in selection' option under Editor -> Structure

Originator:michaelhochs
Number:rdar://25355717 Date Originated:25-Mar-2016 09:04 AM
Status:Open Resolved:
Product:Developer Tools Product Version:7.3
Classification:Feature (New) Reproducible:Not Applicable
 
Currently it is possible to comment and uncomment a line via Editor -> Structure -> Comment Selection. I want to be able to toggle the comment / non-comment status of multiple lines. (Maybe just by also holding the option key).

So when I select those two lines and trigger the option:
DEBUG_INFORMATION_FORMAT = dwarf;
//DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;

The output should then be:
//DEBUG_INFORMATION_FORMAT = dwarf;
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;

So all commented lines get uncommented and all uncommented lines get commented.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!