-
Notifications
You must be signed in to change notification settings - Fork 874
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
Show right doc on hover over constructor #7654
Conversation
I would suggest to add testcases for the number and character literals also to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
would need squashing before merge |
Added tests for hover bug code changes Signed-off-by: Subhash Arabhi <subhashsubbu636@gmail.com> Added test for class hover Signed-off-by: Subhash Arabhi <subhashsubbu636@gmail.com> Added integer and character tests in JavaDocumentationTests Signed-off-by: Subhash Arabhi <subhashsubbu636@gmail.com>
d668074
to
c08d1dd
Compare
@mbien I squashed the commits, Could you merge the PR |
@subhash-arabhi I unlocked CI here. But merging should be done by someone else (assuming tests are green). This is VSCode specific and doesn't influence NetBeans behavior if I understand it correctly due to UX differences. NetBeans shows the overlay information of the parameter if the mouse is over the parameter, not the constructor doc. For the constructor doc, the user has to hover over the constructor identifier. For the class doc you have to move the mouse over the type - all very intuitive. (#7653 (comment)) The bugfix to me would be to show the type info of the param, not the constructor doc IMO. But I am not going to veto this since a quick manual test showed that this patch does not seem to influence NB. cc @lahodaj |
Unless there are objections, I'll merge tomorrow. |
Signed-off-by: Subhash Arabhi <subhashsubbu636@gmail.com> Co-authored-by: Siddharth Srinivasan <siddharth.srinivasan@oracle.com>
Fixes the issue #7653
Changes: