Skip to content

Open file relative to active file #15

Description

@michaelin

Hi,
It would be nice if I could open files relative to the currently active file. I regularly work with projects that are 5+ folders deep. Having to start navigation from the project root every time is a hazzle.

Example:
The project root is at /somedir/root, and I have the file /somedir/root/level1/level2/level3/myfile.py open. I'd like to open the file <project root>/level1/level2/level3_2/myotherfile.py.

Current process:

  • ctrl+o opens the navigation at /somedir/root/
  • Enter /level1/level2/level3_2/myotherfile.py to open the file.

Suggested addition:

  • ctrl+shift+o opens the navigation at /somedir/root/level1/level2/level3/
  • Enter ../level3_2/myotherfile.py to open the file.

Thanks for a great plugin. The auto completion features are excellent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions