Giter Club home page Giter Club logo

dotenv-vscode's Introduction

dotenv-vscode

Syntax highlighting, auto-cloaking, auto-completion, and in-code secret peeking.

Version

Install

Install using VSCode Command Palette

  1. Go to View -> Command Palette or press Ctrl+Shift+P
  2. Then enter Install Extension
  3. Search for Dotenv
  4. Select Official Dotenv and click Install

Usage

Syntax Highlighting

It just works. Open your .env files in VSCode, and they will now be syntax highlighted.


Auto-cloaking

It just works. Open your .env files in VSCode, and they will be auto-cloaked. Click the 'Toggle auto-cloaking' link at the top of your .env file to toggle it off. Feel safer sharing your screen!

Multiple .env file types supported.

  • .env
  • .env.example
  • .env.development
  • .env.staging
  • .env.production
  • .env.vault
  • .env.me
  • .env.*
  • .flaskenv

Auto-completion

Start typing process.env. (or language specific env statement) and your cursor will be populated with auto-completion options directly from your .env file. Cool!

Multiple languages supported.

  • JavaScript/TypeScript/NodeJS
  • Ruby
  • Python
  • PHP
  • Go
  • Java
  • C#
  • Rust

In-code secret peeking

Hover your mouse over a process.env.SECRET_KEY or a ENV["SECRET_KEY"], and you will be able to peek at its value without having to open your .env file. Convenient!

Multiple languages supported.

  • JavaScript/TypeScript/NodeJS
  • Ruby
  • Python
  • PHP
  • Go
  • Java
  • C#
  • Rust

dotenv-vault (included but optional)

Manage your secrets using dotenv-vault's all-in-one toolkit. Say goodbye to scattered secrets across multiple platforms and tools.

Read more about dotenv-vault here.

Usage is similar to git. Run CMD+Shift+P (or Ctrl+Shift+P) and start typing dotenv.

dotenv new

Follow those instructions and then run:

dotenv login

Then run push and pull

dotenv push
dotenv pull

See dotenv-vault in action:

Visit dotenv.org/docs to learn more.

Commands

dotenv new       Create your project
dotenv login     Log in to dotenv-vault
dotenv logout    Log out
dotenv open      Open project page
dotenv push      Push .env securely
dotenv pull      Pull .env securely
dotenv versions  List version history
dotenv whoami    Display the current logged in user
dotenv status    Check dotenv-vault operational status

Visit dotenv.org/docs for details per command.

CHANGELOG

See CHANGELOG



Thank you for using dotenv-vscode.

dotenv-vscode's People

Contributors

motdotla avatar connorjennison avatar socheatsok78 avatar ykrx avatar woodywoodsta avatar dragon-fish avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.