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.

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (1)

Collapse
 
moopet profile image
Ben Sinclair ā€¢

Oh that's a very neat little idea.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

šŸ‘‹ Kindness is contagious

Please leave a ā¤ļø or a friendly comment on this post if you found it helpful!

Okay