Code completion suggestions do not work as expected. Xcode 8.0 Swift 3

I am having a problem with suggesting a dropdown menu menu for code completion when you write code in Xcode. Previously, you could type something like:

button.frame = CGRect(

and as soon as you are at this stage, instead of filling out all the arguments manually, a drop-down menu will appear with suggestions for completing the code and suggest autofill suggestions, and then just click on the one that suits your needs and you will get something like: (from the above example)

button.frame = CGRect(x: CGFloat, y: CGFloat, width: CGFloat, height: CGFloat)

then all you have to do is just fill in the parameters. After upgrading from Xcode 7.3.1 to the latest version (Xcode 8) for some reason I lost this wonderful feature; however, Xcode still shows a dropdown menu of suggestions for completing the code, but it’s not the same, it just contains the variables that I wrote, and attributes that do not even apply to the object that I am editing.

In addition, Xcode 8.0 for me, at least, no longer highlights: Attributes, project class names, project project names and project names, project constants, project type names, instant project variables and global values , as well as several other types in the source editor code. However, keywords , strings, and numeric types remain highlighted as before the update.

I tried the monkey on the Settings tab, but I can’t find options that will help fix these unpleasant problems. Please, help!

+4
source share
2 answers

This should be a temporary issue:

/, Xcode. , , .

+4

- .... (cmd + shift + k), , , , popUp. ..

0

Source: https://habr.com/ru/post/1654928/


All Articles