Re: Problems about the keybinding in Xcode and the standard namespace of Apple Clang
Re: Problems about the keybinding in Xcode and the standard namespace of Apple Clang
- Subject: Re: Problems about the keybinding in Xcode and the standard namespace of Apple Clang
- From: Dave <email@hidden>
- Date: Thu, 12 May 2016 13:15:05 +0100
Hi,
> The first question is whether there is a keybinding for commenting some region of C/C++ codes in Xcode. I can do the same thing in GNU Emacs quickly by hit the keystrokes M-;. I hope I can do it in Xcode. Any suggestion?
For commenting some region of code, do you mean you want to comment in/out a block of code in a source file?
If so, then the answer is yes, but it’s already built-in:
Select the lines you wish to comment out and Command+/ this will add or remove two “//“ characters to the beginning of each line.
Something that might also be of interest is Command+} and Command+{ which indent +/- a block of code that has previously selected.
As for math questions, you’d be better off posting to the Cocoa List as this list of really for the use of the XCode application.
Hope this helps.
All the Best
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden