You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The preferences in LSP console provides no validation:
although the dialog provides it:
Please note that those 2 preferences panel use the same class.
It would be nice to support validation in LSP console preferences.
The validation should be too improved with:
validate that there is on mapping which is defined.
display a border red for JTextArea (ex: command,configuration), I don't know why it is working for JTextField but not with JTextArea. There is the same problem when you click on JTextArea, there is no blue border like other widgets (JComboBox, JTextField).
I looked around a bit and am thinking about creating the validation function (and also possibly the error stylin) to the widgets. Just have to see how the DialogWrapper works with custom validation functionality.
Another option could be to extend the DialogWrapper in the tool window too, but I'm not sure how clean that would be.
Alright, I'll poke around a bit and see how the custom validation turns out. The basic implementation is quite simple, so I need to figure out how to enable/disable the creation/saving if the widget validation fails.
The preferences in LSP console provides no validation:
although the dialog provides it:
Please note that those 2 preferences panel use the same class.
It would be nice to support validation in LSP console preferences.
The validation should be too improved with:
@MituuZ are you interested to work on this issue?
The text was updated successfully, but these errors were encountered: