How to fix up Xcode function "Filling the gap" - objective-c

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.

Related

How to fix the red minus flag on my vb.net project on vs2017

I need to fix the red flag marks on my vb.net projects. See here:
I believe it's one of the projects that isn't included in the build. I saw this post earlier but I can't find the general tab she was talking about. I also tried navigating the solution explorer but can't seem to find the right answer for this.
If you mouse over the icon, a tooltip should appear indicating the meaning of the icon. According to this MSDN article, this icon "represents an item that is not under Team Foundation version control".

WebStorm, how to disabled "virtual space" in the middle of text?

This is freaking annoying me. I don't know which option do this, but it is really bothering me so much.
The problem is that WebStorm add a "virtual" space after each text like function or object (picture 1). You can see it because clearly in the highlight text (picture 2).
Also, when I am writing on a line, the text is push right to the caret (picture 3)
I want to know which option is it, to disable it.
There is an open issue for this problem:
IDEA-154843 There is a space coming between cursor and the next letter when typing or the cursor is moved.
It definitely helps to select a different font, but reinstalling the latest version of Source Code Pro font may also help.
UPDATE:
It should be already fixed in latest 2017.1 builds.
Thanks the tip from user #yole & user #LazyOne, the problem was the font "Source Code Pro". Changing the font, solve the problem.
As user #CrazyCoder has link this question to an open bug, the next is information for Jetbrains Developers.
SO: MacOS 10.12.1
WebStorm version: 2016.3.4 (Download it on 8th March 2017)
WebStorm plugins: None.

IntelliJ IDEA missing some classes in autocomplete

I have quite a few libraries attached to my project and in Eclipse it shows me all my classes that are available to me when I press Ctrl+space.
But with IntelliJ IDEA so many are missing and even when I press Ctrl+space twice it still does not show up.
How ever it does come up when I use goto class(Ctrl + N) it fines it ill add 2 print screens as an example:
Opened up a bug on the jetbrains tracker and Peter Gromov got back to me with "its a bug to do with starting a class with a small letter." The said bug is documented here
Peter suggested that I use the new version of Intellij Idea 13 in which this issue was fixed.
Update
It works on Intellij Idea 13 (as suggested by Peter), so indeed it was an issue with the first character being a lower case character.
By default IntelliJ IDEA come with a "first letter" case sensitive. Here's the place to change that value to "None".

Xcode missing inline test results

Everywhere there are pretty pictures of failing tests shown inline in the code editor, like in Peepcodes Objective-C for Rubyist screencast and in apples own technical documentation:
(source: apple.com)
When I build my test-target, all I get is a little red icon down in the right corner, stating something went wrong. When clicking on it, I get the Build Results, where I can start to hunt for test results.
Do anyone have a clue on what´s wrong?
Have a look at your Xcode preferences. Under the Building tab you want to change your settings for Message Bubbles.
This works for Xcode 3.1 which it looks like the image you've shown. Xcode 3.2 has a different style of bubble and doesn't have this preference.
Press "Cmd =" to travel between build results, you should see a warning.
Also, that specific warning seems like it's from the static analyzer - you turn that on by going to project preferences and checkmarking "run static analyzer" or by using the "Build and Analyze" option.
Try Cmd-Shift-H to show all message bubbles.

Watching variables in Xcode

I'm trying to watch a variable with Xcode. I'm following the instructions in here by pausing at a breakpoint, selecting Run > Variables View > .... but with the exception of "Enable Data Formatters" the rest of the options are all greyed out. Any ideas?
I'm using Xcode version 3.1.3.
I haven't gotten watchpoints created from the Run menu to work for me either, unfortunately. One thing to be aware of is that when a variable goes out of scope, the watchpoint may become invalid.
If you don't mind getting a little more in-depth, you can use some low-level gdb commands to set a watchpoint for the address of the memory itself. For example, in the guide you linked to, they show how to watch the variable path which is a pointer with the value 0xbfffeb70. To manually set a watchpoint for that address, click in the debugger console (where the debugging output is printed) after the "(gdb)" prompt and type something like this:
watch *((int*)0xbfffeb70)
The cryptic syntax is necessary because gdb expects inputs as C expressions. For a little more detail, visit this link and jump to the section titled "Using hardware watchpoints". (I'm testing on an Intel machine, not sure how PowerPC handles it.) When you set watchpoints this way, Xcode will alert you with a drop-down sheet when a watchpoint is reached and tell you how the value was changed, and gdb will print the same info in the console.
I just ran into this problem. Here is a solution: right click on the variable name and select "View variable in window" from the menu which appears. It should be near the bottom.
Add a breakpoint. Right click in the watch list of the debug area and choose "Add expression..."
If you are getting a different menu, you have to click off of the currently highlighted variable so that nothing is highlighted when you right click.
The Answers given here only work if you use the gdb compiler. For those of you who are looking for an option to set a watchpoint with the lldb compiler I have bad news:
It's not working jet (XCode 4.3.2 with lldb 3.1) even though the lldb docs say you can.
Check out this Email. The lldb commands compared to the gdbs can be found here
I was trying to figure this out in XCode 5. I finally found a "Variables view" button at the bottom right of the output console. It's the little rectangle that will be gray on the left, white on the right if it's not enabled. I'm not sure if this is in XCode 3, but I expect most people have upgraded anyway.