Skip to content

Ability to open editor by folder path (not file) #4

@anlek

Description

@anlek

Describe the problem

I'm a sublime text user, and sublime allows me to specify subl path/to/folder/ and it will open a sublime editor with the folder as the working project.

How would the new feature work?

I would love for it to work as expected, currently, I am getting:

Don't know how to handle `path/to/folder`. Please provide a file path or content (ArgumentError)

Example usage

TTY::Editor.open(source.full_path)

Drawbacks

It is possible that some editors don't have this support. I am not aware of any, however, I don't play around with too many editors.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions