addisonbeck / binwarden

A Bitwarden development automation tool
3 stars 0 forks source link

Add VSCode support to the `-e` flag. #9

Open addisonbeck opened 8 months ago

addisonbeck commented 8 months ago

Right now the editor flag only really works for terminal based editors, but it could be extended to support VS Code. This would likely help a lot of other people find the tool useful.

addisonbeck commented 8 months ago

VSCode can be launched from scripts with the code command: https://code.visualstudio.com/docs/setup/mac#:~:text=You%20can%20also%20run%20VS,Launch%20VS%20Code.

addisonbeck commented 8 months ago

Some additional (likely manual unfortunately) configuration could make the terminal open the correct Tmux session for the project automatically on startup. The code command supports profiles, and this could be one way to do this.