-
Notifications
You must be signed in to change notification settings - Fork 76
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
Use type array for serverProperties and customProperties settings #141
Conversation
@@ -108,9 +108,7 @@ function fetchAndLaunchMetals(context: ExtensionContext, javaHome: string) { | |||
: defaultServerVersion; | |||
const serverProperties: string[] = workspace | |||
.getConfiguration("metals") | |||
.get<string>("serverProperties")! | |||
.split(" ") | |||
.filter(e => e.length > 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've verified that the UI won't let you input a blank string (not even just spaces), so this I've removed this check.
Same thing below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks awesome! Finally it will be more user friendly 🎉
@gabro I think we need to add some kind of migration - if user had a setting as string, we need to replace it with a lsit |
@tgodzik you are right, I'll work on a fix for this soon. |
This is awesome :D |
…rn/fp-ts-2.6.7 Bump fp-ts from 2.6.6 to 2.6.7
Starting from last July VSCode release, this type of setting finally has a UI 🎉