Ask HN: App for quickly opening all files and windows necessary for a project
9 comments
I don't know the app you're talking about, but I solve this using persistent tmux sessions [1]. I use (Neo)Vim as my text editor, so it's just part of the tmux session. Each project has its own session.
I am aware that this doesn't really help you as your question seems to suggest you are not using an editor that can be run in the terminal.
[1] https://github.com/tmux-plugins/tmux-resurrect
I am aware that this doesn't really help you as your question seems to suggest you are not using an editor that can be run in the terminal.
[1] https://github.com/tmux-plugins/tmux-resurrect
In macOS I've used Keyboard maestro for this. It allows you to define actions you can click in the menu bar as well.
You could also write a simple bash script to do it. If you also like this in the menu bar you can download BitBar which easily lets you put actions into the menu bar via python/bash/etc. I have a lot of stuff like this, very much as project overview and shortcut area.
You could also write a simple bash script to do it. If you also like this in the menu bar you can download BitBar which easily lets you put actions into the menu bar via python/bash/etc. I have a lot of stuff like this, very much as project overview and shortcut area.
I write simple bash scripts for this that I put in my path e.g. if you type "project123" in the terminal, it will open the project in VS Code, open the git repo is SourceTree, open the API docs in Chrome, start the local server etc. Usually I make it close all those programs first as well so it's a clean slate.
Pretty simple and really flexible.
Pretty simple and really flexible.
Sounds awesome! Can you please share the bash script?
Put a function in your bash profile script along the lines of this, where you open up everything you need for a project to going:
function project123() {
path=~/Documents/project123
cd $path
code $path # open IDE
stree $path # open SourceTree
chrome "localhost:8080"&
gulp # Start local server
}
Then just type "project123" in bash to run it. Create a new one for each project.Don't know the specific solution you're talking about, but I'm currently making a mac app that handles this.
Open beta this winter.
https://cleave.app
Open beta this winter.
https://cleave.app
It is probably Workspaces. It is quite limited though, I'm planning to set this up using Alfred on macOS which is using AppleScript under the hood.
You're probably talking about AutoHotKey.
Does any of you remember what program is that or use some custom solution for the same issue?
It's a huge pain to have to do that every time, specially if you switch between multiple projects