-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[Preferences] Adjust tool tip text when the preference is not defined. #3334
Comments
@lmcbout what do you believe the error text should be? In VSCode it looks like they override the default text to I don't believe changing |
@vince-fugnitto "Unknown configuration setting" would be good. It is just the current text: "... is not allowed" is not the proper text for a defined preference which is somehow wrong at the moment. |
@lmcbout I believe it is a standard |
@vince-fugnitto The preference being defined does no prevent Theia to load, it is just that the variable is not known with the current configuration. So reporting it as "Not allowed" seems inappropriate . |
@lmcbout the preference is not actually defined, therefore |
@vince-fugnitto This could happen when an extension is not part of your current configuration, but may be good when loading a second Theia configuration, you don't want to remove this pref momentarily, so "is not allowed" is not appropriate |
@lmcbout yes but as I mentioned, there is no way to distinguish preferences which are invalid and those which may be valid in a different IDE, so the warning is fine (it informs users that the current preference is not allowed and will not take effect). If they ever go to the other IDE, then the preference will simply apply, but there is no way to distinguish if it is valid in a different context. |
Say for a moment in time I have the It is the same error as if I have a |
@vince-fugnitto I think it is wrong info being displayed, if you want to keep it the way it is, just close this ticket. There is no way to distinguish whether this pref is for another config or is invalid the way it is written, b ut saying "is not allowed" is too strong word for this purpose. |
@lmcbout I'd be fine to change it to what VSCode has ( |
I'll close the issue for now, I believe |
In the preference editor, when a preferences does not exist or has been removed, the squiggly line appears under-it. For the tool tip, it says "Property is not allowed". It leads to some confusion.
The tool tip should say "Property is not defined in the schema".
Note: the squiggly line is not in master branch yet, this will be the next thing to fix after issue #3247
The text was updated successfully, but these errors were encountered: