Xcode code sense stopped working

Hi,
I recently got this problem, the code sense does not work at all. Recently I changed by mistake keyboard shortcut (Preferences/Key Bindings/Edit/Completion List) to something else, then I changed it back to Escape key. Unfortunately I cannot get the Completion List working again. I tried (many times): restarted Xcode, clean/rebuild code, performed Rebuild Code Sense Index (in Get Info dialog), exchanged the Key Binding to other keys, also, I played around with options in Preferences/Code Sense (Automatically Suggest immediate, etc) with no luck. I spent few days trying to get this working again. The Code Completion List just does not appear any more. Any ideas?

Ok I managed to correct the problem (recreated project)

Similar Messages

  • My acute accent code has stopped working

    my acute accent code has stopped working - aka "option" + "e"
    all other accent codes are still working.
    is this a hardware or software issue? any clues on how to fix it?

    Check
    System Preferences > Speech > Speech Recognition > Listening Key
    System Preferences > Speech > Text to Speech > Speak selected text… (if enabled, check Set Key…)
    If neither works, specify your version of Mac OS X, your keyboard layout, and the applications in which you tested this issue.

  • JavaScript code frequently stops working in Firefox 2.0.0

    == Issue
    ==
    Firefox is having problems with certain web sites
    == Description
    ==
    I have the following code in my JSP page. Based on some certain business logic I need to hide some toolbar buttons.
    <code>function displayToolbar()
    var oPageHeader = parent.window.frames[0];
    var aTDItems = oPageHeader.document.getElementsByTagName("td");
    for (i = 0; i < aTDItems.length; i++)
    if ("Loading view..." == aTDItems[i].getAttribute("title"))
    if(aTDItems[i].style.display == "none")
    aTDItems[i].style.display = "block";
    }</code>
    This works fine in Firefox 3.6.3.
    When it comes to FF2.0 it works for some time and then stops working. If I manually clear the browser cache, again it starts working.
    I can upgrade the browser to latest FF to fix it, but some of our customers use FF2.0.
    Any help or suggestion will be well appreciated.
    <br/> <br/>''(Edited by Moderator: placed code in a CODE block - c)''<br/> <br/>
    Thanks
    == URL of affected sites
    ==
    http://
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
    == Plugins installed
    ==
    *-Cooliris embedded in a tab
    *Version 1.2.0.0
    *Default Plug-in
    *Google Update
    *Shockwave Flash 10.0 r32
    *iTunes Detector Plug-in
    *DivX Web Player version 1.5.0.52
    *npdivxplayerplugin
    *Picasa plugin
    *Yahoo Application State Plugin version 1.0.0.7
    *6.0.12.46
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Rhapsody Player Engine Plugin
    *Version 0.8.6c, copyright 1996-2006 The VideoLAN Teamhttp://www.videolan.org/
    *Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *DRM Netscape Network Object
    *DRM Store Netscape Plugin
    *Npdsplay dll

    Which extensions do you have installed?
    Are you using the default theme or a custom theme?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Help VBA Code Suddenly Stops Working!

    I have a simple line of code that worked flawlessly for quite some time. Out of the blue, with no changes to my system or the database, the code stops working. See below.
    Private Sub Proposal_Number_Click()
        DoCmd.OpenForm "frmPROPOSALINFORMATIONInputForm", , , "[ProposalNumber] = '" & Me.[ProposalNumber] & "'"
    End Sub

    Hello,
    Maybey you're having a DLL problem (see recent exd-issues
    https://social.msdn.microsoft.com/Forums/office/en-US/b8f0af82-0bb8-4799-aa62-1dbcbc5b7742/excel-2010-macros-does-not-work-after-updates-9dec2014?forum=excel).
    Or check your references for a missing reference?
    Hope it helps,
    Wouter

  • Xcode Code Sense information

    I've been playing with using mono under Xcode for a while now, but one area that is really lacking is XCode's understanding of the C# syntax. I have created a plugin that provides for compiling and running C# code with mono and it includes C# syntax colouring as part of the 'language' definition.
    However I'm not sure how to provide the information Xcode needs for the code sense functionality.
    Can some kind soul provide me with information on what Xcode expects for code sense and how it goes about finding it?
    Thanks
    Susan

    Susan,
    I can't answer your question but I'd suggest, if you don't get a response in this forum, that you subscribe to and post your question to Apple's Xcode-users mailing list. Some of the Apple Engineers responsible for Xcode hang out there.
    Steve

  • Xcode "Code Sense" formatting question

    Hi everyone:
    Say, if I start typing if, the code sense pops up the following code block:
    if (<#condition#>) {
    <#statements#>
    I know that I might be nitpicking but my preference was to put an opening curly brace on a new line, something like this:
    if (<#condition#>)
    <#statements#>
    Is there any way to set up Code Sense to do this for me?

    etresoft wrote:
    Personally, I always keep all of that turned off and format things the way I want.
    Well, if I were you I'd give it a try. If you customize it to your liking it's quite a helper in typing. My preferred way was to constantly copy-paste code, but this Code Sense does help a lot.
    I was able to get to the bottom of it and set it up by the way. It is not easy since there are no preferences/settings for it in the Xcode but it's possible to do though. For those who's interested, here's how:
    Go to this folder:
    ".Developer/Applications/Xcode.app/Contents/PlugIns/TextMacros.xctxtmacro/Conten ts/Resources"
    and look for *.xctxtmacro files. The ones I needed were "C.xctxtmacro" and "ObjectiveC.xctxtmacro". You can open them in a TextEdit and edit the contents. I'd save a backup copy before you do so in case you mess something up. The format of those files is not very intuitive but after a couple of minutes of studying it's easy to grasp what's going on.
    When done editing, save it and then restart Xcode for the changes to take effect. I wish Apple put this into the preferences for Xcode but maybe it's coming in the next version?

  • Why does Event.ENTER_FRAME cause this code to stop working? Is there a better alternative?

    I programmed the following code so that an array of buttons
    can be dragged across the screen when either on :
    var buttons:Array=[button1, button2, button3];
    for (var i:uint=0; i<buttons.length; i++)
    buttons[i].addEventListener(MouseEvent.CLICK, alignButtons )
    function alignButtons (e:Event)
         for (var i2:uint=0; i2<buttons.length; i2++)
          if(buttons[i2]!=e.target){buttons[i2].x=e.target.x;}
         for (var i3:uint=0; i3<buttons.length; i3++)
         buttons[i3].addEventListener(MouseEvent.MOUSE_DOWN, buttonDrag);
         function buttonDrag (e:Event)
        e.target.startDrag();
        e.target.addEventListener(MouseEvent.MOUSE_UP, buttonDrop);
        function buttonDrop(e:Event)
              e.target.stopDrag();    
    It works pretty much how I'd like it to work, except for the fact that I have to click the mouse to update the screen. However, when I change the first event listener from "MouseEvent.CLICK" to "Event.ENTER_FRAME" the code goes haywire. Is there another event listener I should be using here?

    Due to what appears to be an incomplete set of curly braces, it is hard to tell how much nesting you have there, but there should be none.  Each listener and event handler function should be able to stand on its own.  You should not have to put any functions inside a loop.
    Having the CLICK event listener is redundant if you have a MOUSE_DOWN and a MOUSE_UP because a MOUSE_DOWN followed by a MOUSE_UP is a CLICK. 
    If your goal is to have the buttons all follow each other around x-wise, then what you can do is assign a MOUSE_MOVE event listener at the same time you execute the startDrag and use its event handler for adjust button positions.  When you stopDrag, you also remove the MOUSE_MOVE listener.
    As far as why things go haywire when you change to using an ENTER_FRAME, you should show the code when it is in that form so that whatever error is evident.

  • Class Code Hints Stops Working

    I've been really frustrated with the code hinting in CS5. It doesn't seem to work like it should. It appears to work fine if I am placing the code on the timeline, but if I create a class file I lose the class code hinting even for simple types like Boolean. The other thing I noticed is after the class file has been created even if I go back to the code on the timeline it has now lost code hinting. The only way to get them back is to close the fla I was working and close flash itself. Any ideas on how to resolve this or is this a legitimate bug? If others have seen this happen please post so that we can get some attention brought to this. It seems to work fine if you create flex components and then edit them in Flash Builder. The downside to doing that is that if you don't need the Flex framework it makes your outputted swf larger than it needs to be.

    FlashDevelop. Even in CS5 the editor is crap in comparison.
    http://www.flashdevelop.org

  • Css background image stopped working despite no code change

    My background image was working fine. Then, without me changing the code, it stopped working. The URL I referred to exists and ends in .jpg.
    When I first load Thimble the background shows up for a split second, then disappears again.
    Here is the code
    background-color:#051c1c;
    background-image:url("http://www.rosesandrattlesnakes.com/cssbg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: top center;
    color:white;
    font-family:'Trebuchet MS', sans-serif;
    text-align:center;
    padding:0;
    I tried removing the quotation marks. That didn't fix it. Tried removing www. That didn't fix it. Tried making the link https. That didn't fix it.
    Also, hints doesn't work, whether the checkbox is ticked or not.
    Gotta say Thimble kinda sucks. Sorry

    Hello,
    I am glad to hear that your problem has been resolved.
    If you have not already, please mark this thread as solved by marking the solution.<br>
    This will help other users experiencing similar problems find help faster and more efficiently.
    I hope you continue using our products and thank you for contacting Mozilla Support.

  • NSUserDefaults stopped working after installing code sign certificates (?)

    The following code has worked fine in the iPhone simulator.
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    myFloat = [userDefaults floatForKey:@"myFloat"];
    myString = [userDefaults stringForKey:@"myString"];
    Today I installed the code signing certificates and all the updates necessary to deploy my code to a device. That part works fine, and I'm able to install and run my apps on the iPhone device.
    The problem is that the above code has stopped working. myFloat is now always 0.0 and myString is now always nil. If I go into the Settings app, my preferences UI is still there and I can change and persist the preference values. But my app no longer sees those values.
    I'm assuming this broke because of the changes related to code signing and device deployment, but I'm not sure since there is no way (?) to roll back those changes.
    Has anyone else encountered this problem?
    Thanks,
    Nick

    I have the same issue with SDK Beta 7, I can't get my preferences to persist (although in my case I'm not using the Settings app to alter settings). This is what I am doing:
    +(void) initialize
    NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *appDefaults = [NSDictionary dictionaryWithObject:@"YES" forKey:@"SomeValue"];
    [defaults registerDefaults:appDefaults];
    in initwithFrame:
    if ([[NSUserDefaults standardUserDefaults] boolForKey:@"SomeValue"]) {
    [[NSUserDefaults standardUserDefaults] setObject:@"NO" forKey:@"SomeValue"];
    } else {
    [[NSUserDefaults standardUserDefaults] setObject:@"YES" forKey:@"SomeValue"];
    and I synchronize in applicationWillTerminate. Settings just don't persist.

  • RSS feed reader stopped working

    Hi,
    I have an RSS feed reading function that worked just fine until yesterday.  I grab an RSS feed from google news using cfhttp and then parse it using XMLParse.  I am attaching the code below.
    Does anyone know if anything changed at Google or somewhere else that would cause my code to stop working?  Instead of the expected results, I see the browser saying the page is loading but never get any results.
    Perhaps there is a parameter I never set in the CFHTTP line and skated by without it for all this time.  It is definitely hanging up on the CFHTTP call.
    Thanks for the help.
    With relation to the code, the search term I am using is "football" and the searchtype is "AND".
    <CFPARAM NAME="newsfeed_start" DEFAULT="1">
    <CFPARAM NAME="newsfeed_end" DEFAULT="5">
    <CFQUERY DATASOURCE="#sitedatasource#" NAME="otherinfo">
    SELECT newssearchterm, newssearchtype
    FROM otherinfo
    WHERE siteid = #currentsiteid#
    </CFQUERY>
    <CFSET newsterm = replace(otherinfo.newssearchterm," ","+","all")>
    <CFIF otherinfo.newssearchtype EQ "AND">
    <cfhttp url="http://news.google.com/news?hl=en&ned=us&q=#newsterm#&btnG=Search+News&output=rss" method="GET" resolveurl="No" charset="utf-8" userAgent="firefox"></cfhttp>
    <CFELSE>
    <cfhttp url="http://news.google.com/news?as_q=&svnum=10&as_scoring=r&hl=en&ned=us&aq=f&ie=UTF-8&btnG=Go ogle+Search&as_epq=&as_oq=#newsterm#&as_eq=&as_drrb=q&as_qdr=&as_mind=1&as_minm=1&as_maxd= 31&as_maxm=1&as_nsrc=&as_nloc=&geo=&as_occt=any&aq=f&output=rss" method="GET" resolveurl="No" charset="utf-8" userAgent="firefox"></cfhttp>
    </CFIF>
    <cfset my_news_xml=XMLParse(cfhttp.FileContent)>
    <CFIF len(my_news_xml) GT 1200>
    <cfoutput>
    <CFIF ArrayLen(my_news_xml.rss.channel.item) GT newsfeed_end>
          <CFSET newsfeed_end = newsfeed_end>
    <CFELSE>
          <CFSET newsfeed_end = ArrayLen(my_news_xml.rss.channel.item)>
    </CFIF>
    <cfloop index="x" from="#newsfeed_start#" to="#newsfeed_end#">
    <LI><A HREF="#my_news_xml.rss.channel.item
    [x].link.xmlText#">#my_news_xml.rss.channel.item[x].title.xmlText#</A></LI></cfloop>
    </cfoutput>
    <CFELSE>
    <CFOUTPUT>There are no headlines matching your search term: #newsterm#
    </CFOUTPUT></CFIF>

    RSS feed was replaced by web-admin, works now.

  • Convert.subString stopped working

    Hi,
    For some reason this piece of code has stopped worked:
    var date = APPLICATION.getInfo().dateNowInternalFormat;
    currentYear = Convert.subString(date, 0, 4);
    currentMonth = Convert.subString(date, 4, 6);
    This is the error message I get for the rows that starts with currentYear and currentMonth:
    Couldn´t resolve reference to Member 'subString'
    Couldn´t resolve reference to Variable 'Convert'
    Any idea what I´m missing?
    Thanks,
    Anders

    easy ;-)
    the code should be:
    var date = APPLICATION.getInfo().dateNowInternalFormat;
    var currentYear = Convert.subString(date, 0, 4);
    var currentMonth = Convert.subString(date, 4, 6);
    you forgot "var".

  • Blue screen, Windows stopped working, BC code 50

    I did a clean install of Windows 7 Home Premium 32 bit, on my vista laptop.
    I have had two blue screens in the past week, stating windows stopped working here are the details:
    BC code - 50
    BCp1 - 80024114
    BCP2 - 0000000
    BCP3 - 9850ED3A
    BcP4 - 0000000
    OS Version 6_1_71
    Service pack 1_0
    Product 768_1
    Can you help me with where the source of the problem is?

    We do need the actual DMP file as it contains the only record of the sequence of events leading up to the crash, what drivers were loaded, and what was responsible.  
    We prefer at least 2 DMP files to spot trends and confirm the cause.
    Please follow our instructions for finding and uploading the files we need to help you fix your computer. They can be found here
    If you have any questions about the procedure please ask
    Wanikiya and Dyami--Team Zigzag

  • I purchased a one year license from my school and it stopped working within one year. It is asking for a key code. My school's tech center has not been any help. I purchased Adobe Acrobat XI from California State University, Los Angeles

    I need a copy of the key code to use the product. It has stopped working.

    This is generally a volume license and the key has to come from the school.

  • I have just upgraded from Windows XP to Windows 7 then reinstalled the CS4 I had previously paid for (including the unique code number).  Now I get an error message that says "Licencing has stopped working".

    I have just upgraded from Windows XP to Windows 7 and then reinstalled CS4 (purchased a couple of years back and paid for) then input the unique code number.  Now I get an error msg that says "Licencing has stopped working".  What do I need to do?

    Hello Carole,
    Please try the steps mentioned in the link below:
    Error "Licensing has stopped working" | Windows
    Thanks
    Alisha

Maybe you are looking for