![]() In the WWDC 2012 video Session 402 - Working Efficiently with Xcode ( from around 6 minutes in) there's a description of how to use the Mac OSX Automator to add a service to manipulate selected text. Im not familiar with using mac automator but i simply followed the instrux in the following wwdc video code commented the usual way using // wont fold. I use code folding a fair bit so the reason i wanted this functionality was so i could easily fold down a block of commented code. all i have to do is highlight the code i want block commented in xcode and press the above keys and the selected text is block commented out using /*. I managed to get this working well via an automator task and have used shortcut to bind it to key combination ctrl+option+command+b.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |