direnv / direnv-vscode

unclutter your .profile
https://marketplace.visualstudio.com/items?itemName=mkhl.direnv
BSD Zero Clause License
157 stars 11 forks source link

Feature Request: View direnv terminal output #750

Open soundofspace opened 4 months ago

soundofspace commented 4 months ago

Direnv on it's own is a very nice tool but combined with tools like nix-flake, direnv, devbox... it becomes really powerful. The status icon already shows if direnv is reloading, but for decent sized installations this is operating like a black box. It would be really nice if the terminal output would be captured, and be shown to the user in a pane just like output, or problems...:

image

Thanks for making this amazing extension!

soundofspace commented 4 months ago

Actually it already seems to partially exist when going to output -> direnv. But don't think it shows everything there, only what the extension is doing

mkhl commented 4 months ago

Good idea, I'll look into logging direnv's stderr output on success