Broken autocomplete in Xcode 26

Xcode 16 and 26 changes in painful way how the Tab key works during autocomplete.

Previously, pressing Tab would extend the typed text up to the word match. For example, we have two classes: NSViewController and NSViewCoordinator BEFORE, typing: "NSV" + Tab used to complete to NSViewCo

Now, in Xcode 26, pressing Tab just use the first suggestion. Stupidly. Especially when you want DispatchQueue and it gaves you DispatchSemaphore…

That is very inconvenient because very often I want just see all possible cases with some prefix...without need of typing all prefix manually.

How to restore the previous behavior? How to do autocomplete word-by-word?

Thanks for the post, there isn’t a bug on autocomplete that I am aware of and many versions of Xcode 26.+ have been released. Interesting does not work for you, but could be because the improvements? I know there are always improvements in autocomplete.

Just to make sure when you press Up/Down to scroll through the full list of completions what do you see? still gives you access to the full list without forcibly accepting the first match? If you type part of a name (e.g., NSV) and pause, you can hit Control + Space to bring up the explicit suggestion list, does this work?

Can you check Go to Xcode → Settings → Editing → Completion and can you provide me a screenshot of what you have there?

Thanks,

Albert Pascual
  Worldwide Developer Relations.

Added requested image

Old and correct: https://drive.google.com/file/d/1Mto5Txlq8_jhvguBp8AsBETJKvMVjnHP/view?usp=sharing

New and invalid: https://drive.google.com/file/d/1jTEAMcZdkRA1BVkXvoub3nrCUfpXmVOF/view?usp=sharing

@DTS Engineer , any updates on that?

Thanks for the post, please read my first post, as still looking forward to know the build number and version of your Xcode. It's hard to see what's the version from a screenshot as Xcode UI does not change completely per version. Thanks!!

Albert Pascual
  Worldwide Developer Relations.

@DTS Engineer , every Xcode version starting Xcode 16.0 Currently the problem exists on Xcode Version 26.2 (17C52)

And please check the videos I've attached

@DTS Engineer , any updates on that?

@DTS Engineer , any updates?

@AlkensoDev I would recommend to file a bug because I'm unable to reproduce it on the latest release of Xcode. I would also recommend when filing the bug to provide your sysdiagnose as maybe could be something on the set up of your environment.

Once you open the bug report, please post the FB number here for my reference.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

Albert Pascual
  Worldwide Developer Relations.

@DTS Engineer , have you checked the videos I've attached? They clearly shows what is wrong

Bug report number is FB15166590

Thank you for providing the bug number. The videos demonstrate the issue in your system. The crucial aspect is to reproduce it on a new machine without any key customization. As the tab key is used as the default autocomplete key, overriding or having shortcuts could make a difference. In previous versions, when the autocomplete popup displayed multiple suggestions with the same prefix, pressing the tab key would insert only the prefix.

I recommend checking Settings > Key Bindings for several bindings related to code completion. Additionally, it is important to be aware of all changes on your system, which is why I requested the sysdiagnose previously.

In any case, the team has now identified the bug and can investigate its cause. However, I do not see any other related bugs, so I am confident that this issue is specific to your system.

Albert Pascual
  Worldwide Developer Relations.

@DTS Engineer I have created fresh virtual machine with latest macOS, installed latest Xcode there and check. Behavior is still broken (check video below). https://drive.google.com/file/d/1THJ-o_4htaP2FvH8w4nt8IsbIsNefgZk/view?usp=sharing

As you requested, I've also collected sysdiagnose: https://drive.google.com/file/d/1xv11WVYlVjCEVmggr37cETbqd-5w8Yyd/view?usp=sharing

Thank you for your post and providing this information. I recommend using the direct line you have with Feedback Assistant to upload those files to the team working on your bug.

Directly communicating with the appropriate team is always the most efficient approach. If you are unable to do so, I can assist you with the upload. Please let me know how you would like to proceed.

Albert Pascual
  Worldwide Developer Relations.

@DTS Engineer , I've also successfully uploaded sysdiagnose and attach video links into the ticket by Feedback Assistance.

The issue with Feedback Assistance is...they just do NOT respond. I've created it initially 18 Sep 2024 and no response there... So here I hope to find help and also ask you for it too!

Broken autocomplete in Xcode 26
 
 
Q