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

Provide action or keybinding command to open repository in editor #1961

Open
itd-fsc opened this issue Sep 6, 2024 · 0 comments
Open

Provide action or keybinding command to open repository in editor #1961

itd-fsc opened this issue Sep 6, 2024 · 0 comments

Comments

@itd-fsc
Copy link

itd-fsc commented Sep 6, 2024

Problem description
A common workflow for me is to clone or pull changes on a repo and then opening it in IntelliJ or VSCode.
For single files, I can often use the “Open in editor” action of a changed file.
But if I want to open the whole project, the fastest way I have found is to click Repository -> “open containing folder”, navigating up one folder and selecting “Open in other application” -> IntelliJ.

Can I create a keybinding to directly open the whole folder in IntelliJ or VSCode?

I tried keybindings like this, but could not get it to do anything. I tried “$path” and “$working_dir”.

{
    "keys": ["ctrl+l"],
    "command": "open_in_editor",
    "args": { "path": "$path" , "line": "0", "col": "0"}
}

Preferred solution
A keybinding command and UI action exists to open the current repository in the editor.
This might need a separate config setting if the command to open a file and a folder differs for your editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant