OpenInSplittedTab icon indicating copy to clipboard operation
OpenInSplittedTab copied to clipboard

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

Open parallaxe opened this issue 11 years ago • 0 comments

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

parallaxe avatar May 25 '14 10:05 parallaxe