XCode 2.2 auto-complete not detecting type casting...

Hello all,
Pardon my lack of appropriate terms, but I need some help. I recently upgraded from XCode 2.0 to XCode 2.2 and have noticed an anomoly in behavior.
In XCode 2.0, I could type-cast an unknown variable implicitly and XCode would use its auto-completion for the class I type-casted. For example, trying to find the count of an array called from a dictionary:
[[myDictionary objectForKey: @"myArray"] count];
After closing the inner brackets and trying to find the appropriate methods of NSArray (ie, I hit ESC to see my auto-complete options), XCode is obviously labeling this variable as "id" because it doesn't know what the objectForKey is going to retrieve. In XCode 2.0, I could do the following:
[(NSArray *)[myDictionary objectForKey: @"myArray"] count];
Doing this, XCode knew I was expecting an NSArray, and would auto-complete with only the NSArray methods. Now under XCode 2.2, the auto-complete seems confused by this type-casting, and does not list NSArray methods, and doesn't even list id methods, but instead lists what appears to be global and instance variables, not methods at all.
It compiles properly and the app runs properly, so it seems only the auto-completion is confused. Does anyone know how to fix this back to XCode 2.0's style?
(BTW, this was a simplified example, I often use the technique with custom classes)
Thanks in advance.

My settings appear to be correct. I even trashed the com.apple.xcode.plist file and trashed the .mode file in my xcodeproj to reset everything and still no go.
Code-sense settings:
Indexing:
[X] Enable for all projects
Editor Function Pop-Up:
[X] Show Declarations
[ ] Sort list alphabetically
Code Completion:
[X] Indicate when completions are available
[X] Show arguments in pop-up list
[X] Insert argument placeholders for completions
Automatically Suggest: Never (I use ESC when I need suggestions)

Similar Messages

  • Auto-complete not working on variables/functions within a class in FlashBuilder 4.5

    Hi all,
    I'm using Flash Builder 4.5 (not burrito), and I'm not getting auto-complete on variables or functions within the class I'm working in.  It will auto-complete classes, and even variables within another variable, but not a variable within that class.
    As an example, let's say I have a class with this var:
    private var myDate:Date = new Date();
    If I start typing myD, I can't get myDate to autocomplete.  But once I type myDate., I'll get auto-complete for all the variables/functions in the Date class.
    I've tried re-installing FlashBuilder and switching workspaces, but with no luck.
    Also tried creating a brand new test project, but it didn't work there either.
    Anyone have any ideas what might be wrong?
    Thanks!

    Hi,
    After you type "myD" If u press cntrl + space it should auto-complete to myDate. Please raise a bug in http://bugs.adobe.com/flex with the sample project as i am not able to reproduce.
    On the other hand if you were expecting code hint to show up as soon as you type "myD" (without pressing cntrl+space) , Please follow the below step.
    Go to Window -> Preferences -> Flash Builder -> Editor
    check the "use additional custom triggers" check box. Leave the keys as default value .
    That should work for you .

  • 3.4: keyword auto-completion not working for multiple levels

    Auto-completion does not work with higher level keywords, which used to work in LR 3.3 (IIRC).
    Example:
    I enter in the "Click here to add keywords" field:
    "He" then LR tries to complete the keyword by showing keywords starting with "He". Fine.
    But this is a keyword which does not exist so far, so I enter "Heldenplatz > W" because I want to have sorted it under Wien. If I'm not mistaken, LR 3.3 showed after entering the "W" a list of existing keywords starting with W (auto-completion for the one level higher tag). This is not the case anymore. I have to enter  "Heldenplatz > Wien" completely, which makes it slow and error-prone.
    Am I mistaken or can you reproduce it?
    Cheers

    GaryRowe wrote:
    How can it be, after all this time, that they still do not have effective regression testing in place ? Any sane development team (who wants to remain sane ;-) builds this as a priority ... unless they aren't given the resources?
    I think (don't remember though) that this never worked, so regression testing would not have helped.
    What is really to worry, that features aren't consequently and completely implemented (and tested). With a new option in Lightroom 3, Adobe has offered support for keywords with spaces. It seems that this feature as neither been thoroughly analysed or implemented. Thus, we face the currently inconsequent support of it:
    keyword completion only works with the first entered word, but when you enter a complete keyword hierarchy using the ">" letters
    filtering seems to have problems too

  • Gnome Alt+F2 auto-complete not working

    Hello,
    When pressing ALT+F2 and typing some command the auto-complete does not work.
    Already tried backing up and removing both ~/.config/dconf and ~/.gconf and it didn't fix.
    Also one thing to notice is that other users on the same machine doesn't have the problem.
    Any thought?
    Ps: It was here since before 3.2 update and didn't get fix after the update.
    Thanks

    I have the same problem. Tried using the mouseover to the top-left corner and typing the command. Also invoking the superkey. When I start typing in everything freezes.
    Update: I did open applications using the gnome-terminal       $ application-name &
                  to start firefox with no problems.  Also did move away /.config/dconf and /.gconf .   Still the same.  When it freezes all I can do is a hardware reset. very strange     doing it in Linux, i tell you.
                 This isn't happening before I added any Online Accounts. Somebody has to rethink this much integration with the Cloud I think.
    Last edited by findingdonato (2011-10-01 23:06:23)

  • How do I turn off Firefox auto-completing what I type in the address bar with my own history and bookmarks?

    I have buttons on my Bookmarks bar for any site that I frequently visit. How do I prevent ANYTHING from coming up when I type in the address bar? I found it a long time ago but I never changed it. Now I can't figure out how to get back there.

    You can set set the location bar autocomplete to "Nothing":
    * Firefox/Tools > Options > Privacy > Location Bar: When using the location bar, suggest: Nothing
    * https://support.mozilla.com/kb/Location+bar+search

  • Meta data auto complete not working

    I've noticed in LR2 when entering metadata I no longer get the autocomplete suggestions like I did in LR1.4.
    Can't seem to see any option to turn it on.
    Anyone else experience this?

    This works ok on a Mac. What is your OS? In what metadata fields are you experiencing the problem? I believe in the Metadata panel under Catalog Preferences, "Offer suggestions from recently entered values" controls this. Is it checked?

  • How to use type cast change string to number(dbl)?can it work?

    how to use type cast change string to number(dbl)?can it work?

    Do you want to Type Cast (function in the Advanced >> Data Manipulation palette) or Convert (functions in the String >> String/Number Conversion palette)?
    2 simple examples:
    "1" cast as I8 = 49 or 31 hex.
    "1" converted to decimal = 1.
    "20" cast as I16 = 12848 or 3230 hex.
    "20" converted to decimal = 20.
    Note that type casting a string to an integer results in a byte by byte conversion to the ASCII values.
    32 hex is an ASCII "2" and 30 hex is an ASCII "0" so "20" cast as I16 becomes 3230 hex.
    When type casting a string to a double, the string must conform the the IEEE 32 bit floating point representation, which is typically not easy to enter from the keyboard.
    See tha attached LabView 6.1 example.
    Attachments:
    TypeCastAndConvert.vi ‏34 KB

  • Auto-complete for the email addresses in the mail app is not working

    Hi, could somebody kindly help, please?
    I have just got a new iphone 5s after my old 5 got broken. When I got the new 5s one I had to restore everything from the back-up copy I had on my ipad or in my icloud, whatever.
    The problem is that in the standard mail app which you have at the bottom of the screen auto-complete for the email addresses is not working on this new iphone. However, it still works on the ipad.
    Can I turn it on somewhere or is it a bug? I remember When my old iohone was new as well as the ipad and ipod, I did not have to turn on anything. The recent email addresses list (appears when one starts to type an address in the address bar when writing a new email message) appeared automatically. And on this phone it doesn't appear at all. It doesn't suggest me any recent or whichever email addresses and I am really lazy to type an address each time.
    Could this be solved?
    Many thanks in advance for the eventual help.
    Olia

    I am also getting same problem...................anybody please help.

  • Why does Google auto-complete fail in Firefox 17.0.1 when I type something in the search field there is no pull down list of options as I type?

    When I type a word or term into the Google search bar the auto-complete fails; there is no pull down list of options for my search, only what I have completely typed in. I have to type in the complete word or term that I am searching for and then press return to get the results. I'm using a MacBook and OS X 10.7.5 Please help! This is so frustrating!

    Note that websites may be using autocomplete=off to prevent Firefox from saving and filling autocomplete data as I posted above.
    Did you check for that?
    You can remove autocomplete=off with a bookmarklet.
    * http://kb.mozillazine.org/User_name_and_password_not_remembered
    If a site uses autocomplete="off" then look at this article for a bookmarklet to remove the autocomplete attribute.
    * http://kb.mozillazine.org/User_name_and_password_not_remembered (bookmarklet)
    You can paste this code in the command line in the Web Console (Web Developer > Web Console; Ctrl+Shift+K) and press the Enter key to verify if there is an input field with autocomplete.
    *https://developer.mozilla.org/en/Tools/Web_Console
    <pre><nowiki>var c=0,e=document.querySelectorAll('input[autocomplete],form[autocomplete]'),T='\n';
    for(i=0;E=e[i];++i){T+='['+(++c)+'] '+(E.name||'#'+E.id)+' ('+(V=E.getAttribute('autocomplete').toLowerCase())+')\n';}
    console.log('autocomplete: '+c+T);
    </nowiki></pre>

  • Why Safari 6.0 will not auto complete the password ?

    Why Safari 6.0 will not auto complete the password ? even when the option is selected in autofill tab, and the user-password are listed in the password tab ?
    It used to work fine before I upgraded to mountain lion.
      Tks

    Same problem for me since upgrading to ML.  Safari remembers autofills for some passwords but not others.  For example my web mail password was no longer auto filled.  Checked in the keychain list and all the info was there. Therefore I deleted this and tried again - but Safari did not offer to remember the password.  Than ran an old script I had that is designed to "Removed autocomplete=off from 0 forms and from 2 form elements, and removed onsubmit from 0 forms. After you type your password and submit the form, the browser will offer to remember your password." Safari then offered to remember the password.  I accepted this and checked that the password was then saved in keychain - it was. However, next time I tried to access the email Safari once more did not auto complete.  Very frustrating, especially as some auto completes do work.  I hope apple sort this out soon.

  • Address in "To" field not auto completing

    When I type a contact name in the "To" field that is in my address book, the e-mail address is not auto completing. I had this happen before and figured it out but this time my memory isn't working.
    Thanks.
    Clint

    Hello Ernie,
    That preference is checked. I seemed to have fixed the problem by rebuilding the inbox and restarting Mail. I'm not sure I see the connection but that seems to have done the trick.
    Have a good day.
    Clint

  • The URL does not auto complete nor does the favicon display

    When I type in a partial URL, such as apple, it used to be completed to the full URL and display the Apple favicon.  It now goes to the website, but the typed word, apple, remains without completing the URL.  The favicon remains as a blue dot.
    I have reinstalled Lion, to solve other issues which have been resolved.  The Safari issue is not resolved.  I cannot download a new Safari copy for the only Safari 5.1 available in support > downloads is for Snow Leopard.
    I know many don't like the auto complete URL feature, but I like to know the full address.

    Go to ~/Library/Safari.
    Move the WebpageIcons.db and the LastSesssion.plist files from the Safari folder to the Trash.
    Now go to ~/Library/Caches/com.apple.Safari.
    Move the Cache.db file from the com.apple.Safari folder to the Trash.
    ~ (Tilde) represents the Home folder.
    For LIon:   To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library
    Unfortunately, the only way to reinstall Safari if necessary is to use Lion Recovery.

  • LOV auto-completion is not working (1)

    When the user types in a partial value in the messageLovInput and tabs out, the value gets auto-completed if there is a unique match. If there is not unique match, then the LOV modal window opens up.
    In some cases, you may see that typing in a partial value and tabbing out does not do anything, except for moving the focus on the base page. This can be because of the following reasons.
    1. You may have explicitly turned off auto-completion, by specifying the value of property "Disable Validation" to true.
    2. You may be using a browser that does not support PPR. Auto-completion relies on the PPR functionality, and it does not work in environments where PPR is not supported. For example, Netscape 4.75 does not support PPR. IE 6 and Mozilla 1.7 support PPR.

    Try a reset and see if it fixes the problem. You will not lose any data.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • How do I enable auto-complete for gmail password? I have five accounts and it works for 3 of them but not the other 2.

    I have five gmail accounts. Three of them have the auto-complete feature enabled for the password. The two most recent accounts do not auto-fill so I must type in my password every time. The auto-fill works fine on my laptop but not on my desk-top. My operating system is Windows XP.

    You don't have to do anything with the first iPod that you don't use anymore. If you are planning on keeping it, put in a drawer in your house and forget about it.
    You don't need a second account to use with the new iPod. I use one Appl e ID and iTunes library for two iPods, and two iPad. I have different content on all four devices. You can select exactly what you want to sync to each device and it can be different content on all devices.

  • ADF: auto complete in tutorial does not work

    Hi all,
    I'm studying ADF tutorials. Developing Rich Web Applications with Oracle ADF tutorial has a sample of Auto-complete property. I followed the tutorial from the first step but cannot go further because At Part 3, Step 3 it is not possible to drag an Autocomplete Behaviour onto Combobox. Futhermore in the screenshots, it seems possible to type into Combobox which i never see such an example before.
    This is the link of the Step that i'm talking about:
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_3.html
    Thanks in advance,

    I finally found a way to correct it. When you drag and drop the whole view, JobID is type of Combo Box but it should be Input List of Values (Combo Box). To solve this you need to only delete that combo box (not the whole structure) and drag and drop the Job ID again. This time select List Of Values so it becomes a combo box with editable area. This part is not mentioned in the tutorial makes the confusion.
    Edit: I just see your edit, the forum link points out the same problem. This is the workaround. Unfortunately one of the basic tutorials of Oracle ADF is confusing.
    Edited by: elmariachi on Jan 4, 2013 12:22 PM

Maybe you are looking for

  • [Help] Memory modules not running at full speed

    Hello, I`m having an issue with the Z77A-G43 and some Kingston (KHX2133C11D34GX) dual channel (4Gb x 2) DDR3 modules, which are rated 2133Mhz. I`v set the memories to 2133Mhz from within BIOS / XMP Profiles and and manually increased the voltage to 1

  • Type AbstractStringBuilder is not visible

    Dear All I'm making a web dynpro application and getting the error "type AbstractStringBuilder is not visible". Can anybody expalin me why it is coming? Latest JDK version is installed on my system. From where does the NWDS checks the version of JAVA

  • I installed lion  and iDVD is not longer exist?

    I install a full version of Lion from the Thumb, and this erase all Mac OS X ; and I have to buy, again iPhoto, iMovie,Keynote  but I no able to find iDVD to burn the movies i make like before when  I have the all version.

  • Nokia 808 Video mode - Jerking problem

    The Jerking only happen when video mode happen on all setting 1080p,720p,360p. So I guess someone really happen in the hardware itself. Yes I tried touch screen zoom in this video and also volume button in the middle of the video. Both having the jer

  • IF_WD_MESSAGE_MANAGER

    Hi everyone, I've got a component which declares, in its view, a ViewUIElementContainer in which I embed another WebDynpro application. So far so good. The thing is that when I raise a message in the embedded application, the message is shown in the