VSCode Extension for better experience with dot files.
Just edit your .env files and get typescript types for your environment variables.
- Autocomplete env variables
- Generate types for
process.env
orimport.meta.env
- Descriptions for variables (by using #), for example: VAR_NAME=VALUE # Description
In tsconfig.json add following instructions:
"include": ["*.d.ts"]
This may help your IDE to identify types for environment variables.
Run command envius.create-process-types
on VSCode's command palette.
Run command envius.create-import-meta-types
on VSCode's command palette.tsconfig.json