-
Notifications
You must be signed in to change notification settings - Fork 6
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
Shortcut only works from class to test file #9
Comments
Thank you for reporting this! I've been wondering how long my hack would hold up before it crumbled beneath itself. I will find time to monkey patch 'Spec' as an alternative naming scheme, but ideally I need some sort of engine that does a way better job of guessing than assuming a file suffix. |
Maybe looking at target membership ?
Then choose the second targets (as I know that is a test one, but we can iterate within plugin) :
And the first build phase ( the one of type PBXSourcesBuildPhase ) :
And now the files are nearly there :
Maybe it would be more easy to have test files using objc within the plugin :-) |
@kenji21 I'm not sure what you're saying. I do look at target membership. |
@chrisfarrell 8da4910 should fix your issue. Let me know if it's not solved. 👍 I'm now working on Aviator 2.0 on a local branch, since I just found out that Xcode automatically parses the information I need. I just need to rewrite this plugin to use that framework, so there shouldn't be any more issues like this cropping up in the future! |
Hi, Thank you for the plugin!
After install to Xcode 6.4, via Alcatraz, the shortcut works from class file to test file.
When I am in the test file, the shortcut does not return me to the class, nothing happens.
My test files are suffixed with 'Spec' rather than 'Test,' not sure if that matters.
Thank you!
The text was updated successfully, but these errors were encountered: