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

Make Java Home config scope machine-overridable #861

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

dlobsinger
Copy link
Contributor

The previous change to the scope of metals.javaHome from #681 makes it so that users cannot override the configuration at a workspace level. For users that have multiple projects with specific Java versions it is useful to be able to set the path per project.
The VSCode configuration scope can be set as machine-overridable to allow for the setting to be explicitly configured for a workspace but still defaults to being configured on a machine level: https://code.visualstudio.com/api/references/contribution-points#Configuration-schema

Copy link
Member

@kpodsiad kpodsiad left a comment

Choose a reason for hiding this comment

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

Thanks for fixing it! After it's merged (add a small delay for vcode marketplace) you can use pre-release version of extension to have that changes ;)

@kpodsiad kpodsiad merged commit 2ada902 into scalameta:main Jan 28, 2022
@dlobsinger dlobsinger deleted the machine-overridable-java-home branch January 28, 2022 22:40
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.

None yet

2 participants