You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
In our development container, we manually configure Doppler by setting the environment variable
DOPPLER_CONFIG_DIR
. This causes thevalueFromEnvironmentNotice
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
The text was updated successfully, but these errors were encountered: