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

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

Open
anlek opened this issue Apr 20, 2022 · 0 comments
Open

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

anlek opened this issue Apr 20, 2022 · 0 comments

Comments

@anlek
Copy link

anlek commented Apr 20, 2022

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.

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