Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Host swallows PREFIX_THEIA_SUFFIX Env Vars #7084

Closed
AlexTugarev opened this issue Feb 5, 2020 · 2 comments · Fixed by #7085
Closed

Plugin Host swallows PREFIX_THEIA_SUFFIX Env Vars #7084

AlexTugarev opened this issue Feb 5, 2020 · 2 comments · Fixed by #7085
Labels
debug issues that related to debug functionality plug-in system issues related to the plug-in system vscode issues related to VSCode compatibility

Comments

@AlexTugarev
Copy link
Contributor

If it's not doing any harm I propose to change the regex for filtering of Env Var to be passed on to the plugin host to mach for ^THEIA_ instead fo THEIA_, cf.

const THEIA_ENV_REGEXP_EXCLUSION = new RegExp('THEIA_*');

The use case is the debug console where we miss some of the Env Vars.

@AlexTugarev AlexTugarev added plug-in system issues related to the plug-in system vscode issues related to VSCode compatibility debug issues that related to debug functionality labels Feb 5, 2020
@AlexTugarev
Copy link
Contributor Author

@akosyakov and @tolusha, what do you think about this?

AlexTugarev added a commit that referenced this issue Feb 5, 2020
to match `^THEIA_` instead of `THEIA_`. this allows to access `PREFIX_THEIA_SUFFIX` env vars in plug-ins.

Fixes #7084
@benoitf
Copy link
Contributor

benoitf commented Feb 5, 2020

I think it was the original intent/idea

AlexTugarev added a commit that referenced this issue Feb 5, 2020
to match `^THEIA_` instead of `THEIA_`. this allows to access `PREFIX_THEIA_SUFFIX` env vars in plug-ins.

Fixes #7084
akosyakov pushed a commit to akosyakov/theia that referenced this issue Feb 24, 2020
to match `^THEIA_` instead of `THEIA_`. this allows to access `PREFIX_THEIA_SUFFIX` env vars in plug-ins.

Fixes eclipse-theia#7084
JesterOrNot pushed a commit to JesterOrNot/theia that referenced this issue Mar 12, 2020
to match `^THEIA_` instead of `THEIA_`. this allows to access `PREFIX_THEIA_SUFFIX` env vars in plug-ins.

Fixes eclipse-theia#7084
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug issues that related to debug functionality plug-in system issues related to the plug-in system vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants