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

Set FIREBASE_BINARY as "firebasePath" user setting #7857

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hlshen
Copy link
Contributor

@hlshen hlshen commented Oct 21, 2024

No description provided.

@hlshen hlshen requested a review from yuchenshi October 21, 2024 19:00
@hlshen hlshen requested a review from yuchenshi October 21, 2024 19:07
@@ -63,7 +63,8 @@
},
"firebase.firebasePath": {
"type": "string",
"markdownDescription": "%ext.config.firebasePath%"
"markdownDescription": "%ext.config.firebasePath%",
"scope": "application"
Copy link
Member

@yuchenshi yuchenshi Oct 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upon a closer look, I think we want machine-overridable. To quote the scope section in the schema, emphasis mine:

machine - Machine specific settings that can be set only in user settings or only in remote settings. For example, an installation path which shouldn't be shared across machines.
machine-overridable - Machine specific settings that can be overridden by workspace or folder settings.

The -overridable is mostly so that developers can pin to a different CLI / Node.js version for a certain workspace folder if they really want to. We won't programatically set workspace-level overrides though, it's all up to the developer

firebase-vscode/src/utils/settings.ts Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants