vscode-restclient
vscode-restclient copied to clipboard
Walk up the directory heirarchy to find .env file
Thanks for the great extension!
It would be very useful if the .env file could be located not just in the same folder as the .http but at level(s) above. This would allow organisation of projects like this:
.
├── .env.local
├── .env.prod
├── .env.test
├── service1
│ ├── healthcheck.http
│ ├── items
│ │ ├── create-item.http
│ │ ├── delete-items.http
│ │ ├── get-all-items.http
│ │ └── get-items.http
│ └── user
│ ├── login.http
│ ├── logout.http
│ └── register.http
└── service2
Perhaps instead of walking the entire tree (because it may eventually find a .env file something else) it should only walk as far back as the workspace?
@bmrussell REST Client NEO can help you settle it