Post here the cases when the default choice is not what you'd expect.
Usually such cases can be resolved by adjusting scoring function parameters (available in plugin settings under Advanced). But I try to gather such cases myself because it might be worth to tweak the plugin's default parameters or scoring function based on common cases.
Before posting, make sure you're using the newest plugin version (can be seen in settings), and the default scoring parameters (can be reset in settings).
If your expected completion is missing from the list, Xcode isn't indexing, and it's there with plugin disabled then report a separate bug.
Most of relevant information can be presented in form of a screenshot, so this is the preferred way. Make sure you have following options enabled in plugin settings (or you provide the same information in text):
- Basic > Sort By Score (few best completions in order)
- Basic > Show List Header (actual query in original letter case)
- Advanced > Show Scores (the scores of the completions)
And indicate which completion you'd expect to be selected by default. Wether you are using iOS or OS X SDK and mention third-party frameworks if relevant.
Xcode (with or without the plugin) remembers recent completions, and learns to score them higher. Therefore indicate wether the problem occurs all the time or goes away (after you choose once or a few tmes).
Example
Here I actually had to choose NSOSF1OperatingSystem once just before the screenshot, so it's score is fairly high. But I do sporadically experience this one even without choosing it.

It happens when using OS X SDK, I would expect NO to be selected by default, the problem usually goes away after just once choosing NO.
Post here the cases when the default choice is not what you'd expect.
Usually such cases can be resolved by adjusting scoring function parameters (available in plugin settings under Advanced). But I try to gather such cases myself because it might be worth to tweak the plugin's default parameters or scoring function based on common cases.
Before posting, make sure you're using the newest plugin version (can be seen in settings), and the default scoring parameters (can be reset in settings).
If your expected completion is missing from the list, Xcode isn't indexing, and it's there with plugin disabled then report a separate bug.
Most of relevant information can be presented in form of a screenshot, so this is the preferred way. Make sure you have following options enabled in plugin settings (or you provide the same information in text):
And indicate which completion you'd expect to be selected by default. Wether you are using iOS or OS X SDK and mention third-party frameworks if relevant.
Xcode (with or without the plugin) remembers recent completions, and learns to score them higher. Therefore indicate wether the problem occurs all the time or goes away (after you choose once or a few tmes).
Example
Here I actually had to choose
NSOSF1OperatingSystemonce just before the screenshot, so it's score is fairly high. But I do sporadically experience this one even without choosing it.It happens when using OS X SDK, I would expect
NOto be selected by default, the problem usually goes away after just once choosingNO.