thurka opened a new pull request, #6057:
URL: https://github.com/apache/netbeans/pull/6057

   In context of LSP, when DB connection has incorrect username password, the 
user does not have a way to correct it. This PR tries to fix this problem and 
allows user to fill in new username and password, when connection fails. The 
same functionality was already available in netbeans, but VSCode integration 
(via LSP) just displayed the error dialog with exception and that's it. The LSP 
implenetation uses already established `headless` variable to distinguish GUI 
and LSP part. Common functionality of getting username/password was extracted 
to `Credentials` abstract class, which two implementations one for LSP 
(`CredetialsLine`), which uses `NotifyDescriptor.ComposedInput`  and the second 
one (`CredetialsUI`) for Swing UI.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to