Skip to content

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

@parallaxe

Description

@parallaxe

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions