Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with "CATransform3D" #83

Open
gerchicov-bp opened this issue Jul 16, 2015 · 3 comments
Open

Bug with "CATransform3D" #83

gerchicov-bp opened this issue Jul 16, 2015 · 3 comments

Comments

@gerchicov-bp
Copy link

I want tot get "CATransform3D" but write "catrasn" - it doesn't suggest the word I need but suggests something like "CATransform3DTranslate".

It is even worse than standard behaviour because if you are mistaken then xCode hides autocomplete. But with your plugin I even don't see what is wrong because it always substitutes with an item it considers as a correct one.

@yam-liu
Copy link

yam-liu commented Sep 1, 2015

"catrasn" should not suggest the word you want (say CATransform3D), because you mistaken this. Also compatible for mistaken word feature may lead to very low match rate for exact word we want. BTW, for CATransform3D you can type catr3, cat3, ct3 and something like these.

@gerchicov-bp
Copy link
Author

I was mistaken in just 2 letters and it doesn't suggest a correct word. But in the same time it suggest a correct word for more wrong cases. So I just wrote about it and you are free to do something with it or ignore it. But anyways it is the mistake!

@slazyk
Copy link
Member

slazyk commented Sep 13, 2015

FYI, there is an option in plugin options under experimental to "correct word order". It allows you to make one mistake of switching the order of two matched substrings.

E.g. rangemake will match both CFRangeMake and NSMakeRange.

And catrasn will match CATransform3D.

Although this significantly decreases the score for the item (so it might still disappear from the list because of thresholds) and I am still figuring out how to make scoring better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants