facebook / facebook/relay

Support system variable substitution in VSCode extension config

Open
#4,338 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

It'd be nice to support system variable substitution (like `${workspaceFolder}`) in VSCode extension config, especially when using custom `rootDirectory` and `pathToRelay`.
While VSCode doesn't provide any API for this, [`vscode-python` does support this feature by reimplementing the substitution system by hand](https://github.com/microsoft/vscode-python/blob/b68facc42f684f26c5f83f3cfe895e7aa4bb2bee/src/client/common/variables/systemVariables.ts).
If it's okay to bring that piece of code directly into our extension, I'm open to contributing that one.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.