dopplerhq / vscode Goto Github PK
View Code? Open in Web Editor NEWDoppler Official VSCode Plugin
License: Apache License 2.0
Doppler Official VSCode Plugin
License: Apache License 2.0
Thanks for this extension, looks great! My company uses a (turborepo) monorepo, and so there are separate projects that use different Doppler projects by directory. We have different doppler.yaml files in each of those folders to declare the proper project/environment for local dev.
Would be pretty sweet if we could at the minimum configure different configs for different subdirectories, or even better just have Doppler look for doppler.yaml files and figure it out itself. Also, the extension prompted me to select the proper project and env, but no idea where that's stored, I thought it would be in settings.json
but i guess not.
So yeah really a few ideas in this issue, but for now the main thing that would block me from making effective use of this is multiple projects in my workspace. Thanks!
In our development container, we manually configure Doppler by setting the environment variable DOPPLER_CONFIG_DIR
. This causes the valueFromEnvironmentNotice
CLI function to be called each time a Doppler command is executed.
(Note: this can be irritating when executing doppler run
frequently. It would be ideal if this warning could be disabled or only output once per day/session. A separate issue has been opened for this: DopplerHQ/cli#407)
Whenever valueFromEnvironmentNotice
is called, it writes a warning to stderr, which opens the VSCode Output panel and moves the user's cursor and focus to that panel. For those using environment variables to configure Doppler, this behavior makes the extension impossible to use.
I recognize the importance of providing error feedback to the user, however, I am not aware of any other VSCode extension that takes control of the user focus in this manner.
I am happy to submit a pull request for this. This can be fixed simply by removing line 97.
vscode/src/lib/helpers/terminal.ts
Lines 95 to 98 in fdccd19
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.