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
All Spring Data Query whether it is JPQL/HQL or a native SQL query support parameters coming from java code. Typically @query annotates a method, then :1 or ?2 found in the query would stand for the first and second parameter of the Java method respectively. It's be useful to show the name of the Java method parameter as inline hint to indicate which parameter the number corresponds to
The text was updated successfully, but these errors were encountered:
I've seen this working, but the end result doesn't look great to me. The code part :1% ends up looking like :1 lastname%. It seems to me like the inlay hint should be shown behind the % probably, with a little spacing behind the code lens in addition to the little space before the code lens.
Hmm... there is already space dedicated left of the inlay... Don't think LSP4E respects it properly...Perhaps we may need to remove the inlays - I didn't like them either to be honest.
I tried VSCode only for the moment, the space between :1 and lastname looks good to me, but I would move the hint entirely behind the % character, with spacing before and after.
All Spring Data Query whether it is JPQL/HQL or a native SQL query support parameters coming from java code. Typically @query annotates a method, then
:1
or?2
found in the query would stand for the first and second parameter of the Java method respectively. It's be useful to show the name of the Java method parameter as inline hint to indicate which parameter the number corresponds toThe text was updated successfully, but these errors were encountered: