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
Currently the implementation of SignatureHelp could provide paramter hints for normal cases. I found that sometimes, it's not working properly.
Failure case 1
System.out.println("{,},(,),");
In this case, the signature help won't hint anything.
By reading the source code I found that the root cause is that in the implementation of SignatureHelpHandler#getContextInfomation() is not robust. For example, it's not taking the appearance of ( and ) in a string literal into consideration.
Currently the implementation of SignatureHelp could provide paramter hints for normal cases. I found that sometimes, it's not working properly.
Failure case 1
In this case, the signature help won't hint anything.
By reading the source code I found that the root cause is that in the implementation of SignatureHelpHandler#getContextInfomation() is not robust. For example, it's not taking the appearance of
(
and)
in a string literal into consideration.Failure case 2
For project spring-petclinic:
![image](https://user-images.githubusercontent.com/6193897/158511382-7741baf7-3e36-4b76-ace7-748065e1250a.png)
While the actual signature is:
SpringApplication.run(Class<?> primarySource, String... args)
That means the varargs is not handled properly.
Failure case 3
While the actual signature is:
SpringApplication.run(Class<?> primarySource, String... args)
That means when the parameter list is not complete, we cannot handle it properly.
I'm now trying to fix those problems recently. Hopefully, I can send a PR in around next week. :)
The text was updated successfully, but these errors were encountered: