How do I reveal the break icons upon the line numbers? - xcode6

The following image shows a break icon displayed upon a row number (Xcode 5.1.1):
I notice with Xcode 6 (Version 6.0 (6A279r)) that they don't appear:
How to I get the break icons to re-appear upon the row numbers as usual?
...or perhaps this is a bug?

I apparently cleared it up by re-launching Xcode 6 and doing a complete cleansing.
Now I see the break points upon the line numbers.
The incident appears to be a bug; and I shall report it, if I can reproduce it.

Related

What does the gray exclamation mark means in Xcode 8.3?

I updated the Xcode to 8.3 version today, but I found a new error message, a gray exclamation mark. I do not know what it means, But the program can run normally. Does anyone know what this symbol means?
That error style is not new to Xcode 8.3, but your project may be experiencing new warnings or errors due to changes in Xcode 8.3 which is causing this style to appear.
That style is used to provide you with additional information about a given error or warning. You should see the primary issue somewhere above the grey exclamation mark style. There should also be a disclosure triangle that will let you collapse this additional information.
You need to resolve the primary issue.

How can I get Xcode 6 to indent switch statements properly?

When editing an Objective C file, the autocomplete snippet for the Switch statement looks like this.
(wow, i'd love to put the code here, but this page complains that it isn't properly formatted, which is the problem i'm asking about 9_9)
I want the case labels lined up with the switch statement. I'll even settle for the case labels indented one level.
My problem is that reinstalling Xcode doesn't fix the problem. I even used this App Cleaner app (found from the answer to a question about reinstalling Xcode here on stack overflow) to remove files associated with XCode.
I believe this problem is specific to me (instead of a bug in Xcode), because other people I ask about it don't know what I'm talking about.
So how can I get my Xcode behaving properly?
Btw, the snippet looks weird, because it's indented two spaces (I use tabs at a width of 4 spaces for my editing).
I actually got a hint from the person who allowed images in this post (I don't have a high enough score to put images).
I indent using Tabs, with a Width of 4 and Indent of 4. My problem, when the Case label are outdented, is that the switch statement is indented one tab, but the case labels are indented 2 spaces. This matches the second image where the snippet shows them indented 2 spaces.
Assuming this is just a problem with my Xcode, what I'm asking is how can I completely get rid of it and have a normal install (I tried reinstalling). On the other hand, if others have this problem too (that is, it's a bug in XCode), then I'll submit a bug report to Apple.
Try checking the Indent width at 4 spaces.
You find the following screen under "Xcode-Preferences"
Posted as an answer, cause comments don't have images.
You would like to edit the standard Xcode snippet, but Xcode doesn't allow you to do this?
Well, it looks like the right time for Snippet Edit.
It will allow you to do anything with the code snippets.
For example, my switch statement looks like this:
I had the same problem on a Mac at work, then concluded that it is a bug. What weirds me out is that I've been unable to get anyone on the internet to confirm it. Perhaps I didn't explain the issue well. Nonetheless, I submitted a bug report to Apple and it's currently marked as a Duplicate of another bug that is Open. So I expect it will be fixed.
In case anyone who comes across this is unclear on what the bug is, the bug is that the code completion snippet indents the Case label at 2 spaces. I happen to indent using Tabs, but it still indents at 2 spaces. With my tab set to a width of 4 spaces, this causes the Switch statement to indent farther than the Case label when using the auto complete. This problem is masked if you indent using Spaces, because even though the snippet indents two spaces, it will line it up with the next "tab" stop at 4 spaces (or 8 spaces, etc.).
Interestingly, it only happens when using the snippet for Objective-C. This problem doesn't occur with Swift.

Xcode code folding issue

After updating Xcode(5.0.1),one of my project files is automatically unfolding the code every time i leave the file or close Xcode.And this weird behavior is bothering me a lot,i already tried to delete and recreate it but didn't worked.
Anyone knows what might be causing this single file to have its code unfolded?
With Xcode-9, this issue is resolved. Code folding is being remembered and saved by Xcode 9 Editor.
Code you have/had folded exact before last source build/save, is automatically stored upon document/file closure. And same will be visible as it was (folded) when you will open document/file next time.
You don't need to do anything (there is no any option in Xcode tool bar to enable or disable) to save your code fold.
There's no way around it. xCode will unfold your code automatically. Period. There is no option to "preserve" code folding. (sad, but true...)

Xcode 4.4 - Unable to add compiler flags to compile sources

In Xcode 4.4 it seems I am unable to add compiler flags to individual source files. I am trying to remove ARC from a single file but I can not get the pop up to add flags. Double clicking or selecting the item and pressing enter does not work, also tried selecting multiple and pushing enter which does not work. I have tried with two separate projects, one of which I created with Xcode 4.4. Is there another way to manually add compiler flags to a source file? (I do not have an older version of Xcode to see how it stores the value [likely in the pbxproj]).
Note: MacBook Pro w/ Retina Display - OSX 10.8
I found where the window was hiding. I had to drag Xcode pretty far down to the lower left corner of my screen as the pop up window was showing up and to the right. This made it completely hidden while full screen.
A bug report has been filed rdar://11970271

How to fix up Xcode function "Filling the gap"

I have a problem with My XCode 4.3.2.
XCode has the function "Filling the gap".
We type 'uil', XCode shows 'UILabel' text with pale white color and pulldown menu.
But my Xcode doesn't work as I mentioned above.
In a blog, says
1. Open organizer.
2. Select tab 'Projects'.
3. Select your project name.
4. Tap the 'delete' button with 'Derived Data' section.
I did mentioned above, it looks like working well.
But after a short time, it doesn't work again.
How can I solve this problem?
Thanks for reading.
I don't have a direct answer for you, but you may get better results searching for the term "code completion", as that's what that feature is called in English.