{"id":16342829,"url":"https://github.com/cab404/vscode-direnv","last_synced_at":"2025-10-18T00:18:37.209Z","repository":{"id":46381786,"uuid":"333209366","full_name":"cab404/vscode-direnv","owner":"cab404","description":"Automatically detect and load your .envrc","archived":false,"fork":false,"pushed_at":"2022-01-07T08:16:17.000Z","size":153,"stargazers_count":18,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T03:56:07.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cab404.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"liberapay":"cab404"}},"created_at":"2021-01-26T20:31:50.000Z","updated_at":"2023-11-03T23:51:16.000Z","dependencies_parsed_at":"2022-09-12T18:50:44.556Z","dependency_job_id":null,"html_url":"https://github.com/cab404/vscode-direnv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cab404%2Fvscode-direnv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cab404%2Fvscode-direnv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cab404%2Fvscode-direnv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cab404%2Fvscode-direnv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cab404","download_url":"https://codeload.github.com/cab404/vscode-direnv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040235,"owners_count":20551297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T00:05:18.768Z","updated_at":"2025-10-18T00:18:32.173Z","avatar_url":"https://github.com/cab404.png","language":"TypeScript","funding_links":["https://liberapay.com/cab404"],"categories":[],"sub_categories":[],"readme":"# :warning: You probably\n➡️ [want to take a look at extension we are currently developing to end all the direnv extensions out there.](https://github.com/direnv/direnv-vscode) ⬅️\n\n_This extension will be archived and will start redirecting to it as soon as we are done with the rest of the nitpicks left :heart:_\n\n# [direnv](https://github.com/direnv/direnv) for Visual Studio Code\n\n[![Develop this project with Nix + direnv](https://raw.githubusercontent.com/cab404/nixdirenv/master/shield-long.baked.png)](https://github.com/cab404/nixdirenv/#development)\n\nThis extension adds support for direnv to VS Code, including:\n\n* Auto-load the environment if the .envrc file is allowed\n* Prompt to allow the .envrc if it is not when VS Code opens\n* View / Allow the .envrc via commands\n* Auto-detect .envrc when it is created\n* Auto-detect changes to .envrc\n* Auto-detect deletion of .envrc and prompt to revert your environment\n\n### Changes since 1.0.0\n+ Added direnv terminal profile. You can select it with `\u003e Terminal: Select default profile`.\n* Fixed \"view .envrc\" on projects where .envrc is not in the root\n\n## Prerequisites\n\nThis extension needs direnv installed to work. Please refer [here](https://github.com/direnv/direnv#install) for installation instructions.\n## Install\n\nVia Quick Open:\n\n1. [Download](https://vscodium.com/#install), install and open VS Codium (or VS Code)\n2. Press `ctrl+p` to open the Quick Open dialog\n3. Type `ext install direnv`\n4. Click the *Install* button, then the *Enable* button\n\nVia the Extensions tab:\n\n1. Click the extensions tab or press `cmd+shift+x`\n2. Search for *direnv*\n3. Click the *Install* button, then the *Enable* button\n\nVia the command line:\n\n1. Open a command-line prompt\n2. Run `codium --install-extension cab404.vscode-direnv`\n\n## Usage\n\nThe following describes the usage of this extension that is automatically enabled each time you open up VS Code.\n\n### Automation\n\n* If you have a `.envrc` file on the workspace root it will try to load it to the environment. If you haven't allowed it yet then it will prompt you to do so.\n* If you have no `.envrc` and you try to view it or allow it you get a prompt to create it.\n* If you edit and save the `.envrc` it will prompt you to allow it.\n* If you delete the `.envrc` it will prompt you to revert the environment.\n\n### Commands\n\nIn order to run a command press `cmd+shift+p` to view the Command Palette. There type:\n\n* `direnv allow` to allow and load the current `.envrc`\n* `direnv view` to view your `.envrc` and make changes\n* `direnv version` to view the current `direnv` version\n* `direnv reload` to reload `.envrc` file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcab404%2Fvscode-direnv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcab404%2Fvscode-direnv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcab404%2Fvscode-direnv/lists"}