motdotla / dotenv

Loads environment variables from .env for nodejs projects.
https://www.dotenvx.com
BSD 2-Clause "Simplified" License
19.01k stars 853 forks source link

Feature: Request for IntelliSense #820

Closed talhameer closed 5 months ago

talhameer commented 5 months ago

Overview:

Currently, the npm dotenv package offers a convenient way to load environment variables from a .env file into Node.js applications. However, one significant usability enhancement that could greatly improve developer experience is the integration of IntelliSense support within code editors.

Feature Request:

The requested feature entails adding IntelliSense support to the dotenv package. Specifically, when developers access environment variables using process.env. within their code, IntelliSense should automatically suggest all the environment variables defined in the loaded .env file or any other files supported by dotenv.

motdotla commented 5 months ago

how would this work? i'm not familiar with intellisense.

motdotla commented 5 months ago

you can use https://marketplace.visualstudio.com/items?itemName=dotenv.dotenv-vscode for this

talhameer commented 5 months ago

Thanks @motdotla, that's what I'm looking for...