DEV Community

Daniel Shotonwa
Daniel Shotonwa

Posted on

2

Finally built a vscode extension

I have been thinking of building a vscode tool and finally published one.

It is an extension used for automating the process of adding a line of variable to .env and sample-env file, instead of copying and pasting.

const KEY = "MysecretKey"; 

Right click on the line
Click on Add Line to env

The line will change to:
const KEY = process.env.KEY

The env and sample-env file will also be populated

Install here: https://marketplace.visualstudio.com/items?itemName=danielshow.autoenv&ssr=false

Check out the repo here:
https://github.com/Danielshow/autoenv

Kindly help install on vscode. it means a lot. Thanks

I will put up an article on how I built it.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (1)

Collapse
 
moopet profile image
Ben Sinclair

Oh that's a very neat little idea.

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay