Coder Social home page Coder Social logo

dopplerhq / vscode Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 2.0 11.47 MB

Doppler Official VSCode Plugin

License: Apache License 2.0

JavaScript 36.43% TypeScript 62.88% C# 0.10% Go 0.04% Java 0.04% PHP 0.19% Python 0.18% Ruby 0.03% Rust 0.10%
secret-management secrets secrets-management secrets-manager security

vscode's People

Contributors

bvallelunga avatar nmanoogian avatar rgharris avatar watsonian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vscode's Issues

Monorepo - different config by directory?

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!

On Windows?

Hi,
I have not been able to get this extension working on VSCode windows. Is it supported?
Installed doppler with scoop. Tried login and setup, installing and uninstalling the extension in various combinations. When I`m in a project-folder, the extension is simply in a "waiting/hanging" state.
image

Extension hijacks user focus to Output panel on stderr

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.

if (stderr.length > 0) {
this.outputChannel.append(stderr);
this.outputChannel.show();
}

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.