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
While VS Code does not support much variable substitution in settings, the Python extension does. However, I didn't find any mention of this in the extension's documentation. There is a "settings reference" page, but it doesn't say anything about substitution, other than the fact that some of the default values use the substitution syntax.
So a section on that page about supported variable substitution would be a useful addition, along with a one-sentence mention at the top of the page about that support (presumably the new section would be added to the bottom). I'd expect the new section to briefly explain how substitution works and then enumerate the supported variables. Since it's pretty much the same as what VS Code does, I expect it would be enough to give a brief summary, link to the VS Code docs, and show a minimal table.
Here are relevant details:
the extension applies variable substitution to all its settings
that even applies to nested settings, e.g. "python.autoComplete.extraPaths"
see use of systemVariables.resolveAny() in the code
the substitution behavior is the same as that of VS Code
@luabud@ericsnowcurrently - Updated with PR #3282. Please take a look and feel free to reopen if you think more is needed or something needs additional clarification.
Uh oh!
There was an error while loading. Please reload this page.
While VS Code does not support much variable substitution in settings, the Python extension does. However, I didn't find any mention of this in the extension's documentation. There is a "settings reference" page, but it doesn't say anything about substitution, other than the fact that some of the default values use the substitution syntax.
So a section on that page about supported variable substitution would be a useful addition, along with a one-sentence mention at the top of the page about that support (presumably the new section would be added to the bottom). I'd expect the new section to briefly explain how substitution works and then enumerate the supported variables. Since it's pretty much the same as what VS Code does, I expect it would be enough to give a brief summary, link to the VS Code docs, and show a minimal table.
Here are relevant details:
systemVariables.resolveAny()
in the codeThe text was updated successfully, but these errors were encountered: