You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
we write a lot of code using dot notation because we think it's easier to read, you don't have to keep track of the number of brackets and so on. Compare:
UIScreen.mainScreen.scale; vs [[UIScreen mainScreen] scale];
Is there any way you could perhaps add better support for this in FuzzyAutocomplete? We get code completion for the UIScreen part, but as soon as i put a dot after it and start typing mainScreen there is no completion any more. This happens in a lot of cases and is very frustrating.
Thanks!
The text was updated successfully, but these errors were encountered:
It does not complete without the plugin either, that is because mainScreen is a class method.
The completion list that is generated by Xoce for dot- and method-syntax in this case are different.
The same applies for objects of type id.
It might be easy to make the lists consistent if internally Xcode filters the method list for the dot-notation completions (otherwise it will probably be quite tricky...). If you want to spend some time and try to implement this, I can give you some pointers where to look.
Hi,
we write a lot of code using dot notation because we think it's easier to read, you don't have to keep track of the number of brackets and so on. Compare:
UIScreen.mainScreen.scale;
vs[[UIScreen mainScreen] scale];
Is there any way you could perhaps add better support for this in FuzzyAutocomplete? We get code completion for the
UIScreen
part, but as soon as i put a dot after it and start typingmainScreen
there is no completion any more. This happens in a lot of cases and is very frustrating.Thanks!
The text was updated successfully, but these errors were encountered: