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

machine scope settings defined in user settings need to be ignored in the remote context #2

Closed
egamma opened this issue Apr 29, 2019 · 12 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug remote Issues in the code server support stable Must fix issues for enabling extensions on Stable verified Verification succeeded
Milestone

Comments

@egamma
Copy link
Member

egamma commented Apr 29, 2019

When a machine scoped setting is defined in a user setting, then it needs to be ignored in a remote context.

@egamma egamma changed the title Ensure that machine scope settings defined in user settings are ignored in the remote context machine scope settings defined in user settings need to be ignored in the remote context Apr 29, 2019
@sandy081 sandy081 self-assigned this Apr 29, 2019
@egamma egamma transferred this issue from another repository May 2, 2019
@egamma egamma added the bug Issue identified by VS Code Team member as probable bug label May 2, 2019
@egamma egamma added the remote Issues in the code server support label May 6, 2019
@sandy081 sandy081 added this to the June 2019 milestone May 22, 2019
@sandy081 sandy081 added the stable Must fix issues for enabling extensions on Stable label May 22, 2019
@sandy081 sandy081 modified the milestones: June 2019, May 2019 May 22, 2019
@sandy081
Copy link
Member

@roblourens I fixed it in the model and schema, can you please make sure the user settings in remote window does not show machine settings?

@roblourens
Copy link
Member

Yeah I did that a long time ago

@egamma
Copy link
Member Author

egamma commented May 24, 2019

@roblourens @sandy081 can the issue be closed now?

@sandy081
Copy link
Member

@roblourens Not sure if it is fixed in UI. I still see machine settings in user settings in remote window

image

@roblourens
Copy link
Member

Oh I thought this was about app-scoped settings in the Remote tab.

@roblourens
Copy link
Member

Wait are we sure we want to prevent this? It still seems like a valid way to configure things? Maybe I connect to lots of remotes that are configured the same way and I don't want to configure each remote independently?

If I set the setting in user settings JSON will it still be respected for the remote?

@sandy081
Copy link
Member

Machine settings scoped to a machine and by definition they vary per machine. So I think it makes sense to not to respect local machine settings configured in user settings in a remote window.

@roblourens
Copy link
Member

It seems like they likely vary per machine, but they don't have to, and if they don't, we are removing a potentially valid use case, for what benefit?

@roblourens
Copy link
Member

Anyway I'll fix this and we can always tweak it later

@sandy081
Copy link
Member

I would rather more concerned about if they vary which will break.

@roblourens Instead of hiding machine settings in the user settings, is it possible to show them and add a warning icon? This will help users to understand about it?

@roblourens
Copy link
Member

Sure but I think we should do the same for all settings that are invalid for the scope.

@isidorn isidorn added the verified Verification succeeded label Jun 3, 2019
@isidorn
Copy link

isidorn commented Jun 3, 2019

I verified that the git.path does not show up both in the .json file and in the settings ux -> verified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug remote Issues in the code server support stable Must fix issues for enabling extensions on Stable verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants