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

update Metals version to the newest one through dialogue only updates in User tab. #1071

Open
vzmerr opened this issue Jul 19, 2022 · 2 comments

Comments

@vzmerr
Copy link
Collaborator

vzmerr commented Jul 19, 2022

Describe the bug

To reproduce, put 0.11.8-SNAPSHOT in Metals Server Version in both Workspace and User tabs of VSCode. Then, totally close VSCode. (Do not Relead Window instead.) And reopen it.
A dialogue would appear asking if you want to update the Metals Version to the newest one. And you should confirm. Then reload and check the Metals Version setting:
It is only updated in the User tab. But remains as 0.11.8-SNAPSHOT in the Workspace tab, which overrides the User one.

Expected behavior

choosing to update the Metals version to the newest one, through the dialogue in VSCode, should change the setting also in the Workspace tab for the result to be effective.

Operating system

macOS

Editor/Extension

VS Code

Version of Metals

v0.11.8-SNAPSHOT

Extra context or search terms

No response

@tanishiking tanishiking transferred this issue from scalameta/metals Jul 19, 2022
@tanishiking
Copy link
Member

I transferred it to metals-vscode, since this is a problem only with the VS Code extension :)

@tanishiking
Copy link
Member

Indeed, metals-vscode updates only one configuration (of User and Workspace configurations)

we might want to update both User and Workspace of the server version configuration if both of them has outdated version 🤔

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

No branches or pull requests

2 participants