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

Open the corresponding storyboard when the cursor selects a segue-identifier #6

Open
parallaxe opened this issue May 25, 2014 · 0 comments

Comments

@parallaxe
Copy link
Owner

When the cursor selects a string that represents a segue-identifier, like in

-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  if([segue.identifier isEqualToString:@"cursor is on this string"]) {
    ...
  }
}

or in

[self performSegueWithIdentifier:@"cursor is on this string"];

and executes the plugin-action, it should open the corresponding storyboard and select the segue.

This may be very tricky to implement, as

  1. I don't know if the objc-API for jetbrains-plugins is publicly available or if i would have to infer all necessary informations from the PsiElement-API and
  2. I currently have no clue how to find the corresponding storyboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant