• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Editing while code sense placeholders are showing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Editing while code sense placeholders are showing


  • Subject: Editing while code sense placeholders are showing
  • From: Steve Mills <email@hidden>
  • Date: Tue, 03 Nov 2009 10:49:22 -0600

Anybody else find it difficult to edit surrounding text and use the tab key while you have Code Sense placeholders visible? Try this in Xcode 3.2:

1. In the middle of a function (new or existing), type an Apple routine, like HIThemeGetTextDimensions and hit escape to get the suggestions.
2. Hit return to accept the correct suggestion.
3. Now you see that you'll need to declare a bunch of local variables, like CFStringRef, HIThemeTextInfo, and some floats, so go up to where you want to declare your local variables and type the first variables type, "CFStringRef".
4. Now we want to put tabs between the type and the variable, so hit tab, because properly formatted variables lists are the cornerstone of readability (or so my first programming teach always said). At this point, the tab doesn't do what you expect. Instead, it selects the first Code Sense parameter. Only the key equiv assigned to Code Sense Select Next Placeholder should do that. Mine's set to F12, not tab. Tab works correctly when Code Sense placeholders are NOT there, and tab worked correctly in this situation in Xcode 2.5.


Apple says this works as expected. I don't see how this could be. It worked as expected in 2.5. Tab is clearly NOT the key equiv to select the next placeholder. This bug makes it impossible to work efficiently. If you agree, please enter a bug so it gets some attention and will be fixed.

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/


_______________________________________________ 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
  • Prev by Date: something wrong with architecture and compiling
  • Next by Date: Re: something wrong with architecture and compiling
  • Previous by thread: Re: SPAM-MED: Re: something wrong with architecture and compiling
  • Next by thread: Insert literal brace?
  • Index(es):
    • Date
    • Thread