this post was submitted on 16 Aug 2024
20 points (100.0% liked)
VS Code
784 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, it's a little insane to me to automatically run code that exists in a file in the current directory, by default.
Like there's a reason that
direnv
requires you to executedirenv allow
if you enter a directory with an.envrc
that you hadn't previously approved.I don't know of any other editor that has this as standard behavior, and for good reason.