-
Notifications
You must be signed in to change notification settings - Fork 401
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 "Add javadoc for" in quick assists #2133
Show "Add javadoc for" in quick assists #2133
Conversation
Signed-off-by: Shi Chen <chenshi@microsoft.com>
a8dadbe
to
4a3ebef
Compare
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.
Change seems to be working well for me. Just some questions about placement of the new functionality.
...core/src/org/eclipse/jdt/ls/core/internal/corrections/proposals/JavadocTagsSubProcessor.java
Outdated
Show resolved
Hide resolved
....jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/text/correction/SourceAssistProcessor.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Shi Chen <chenshi@microsoft.com>
@rgrunber A solution is that we can separate these two kinds: if there is a problem about Missing javadoc comment (Although it's And we can also keep a better order under this situation: A QuickFix should have a higher priority on the client side since it will have a related diagnostic, while a QuickAssist does not. In this way, we can have a way to put a QuickAssist, which will add javadoc under other quick assists, e.g., generating accessors, the related work will be available in #2109. quickfixandassist.mp4 |
Signed-off-by: Shi Chen <chenshi@microsoft.com>
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.
LGTM. Feel free to squash + rebase merge so we can include in the release.
Signed-off-by: Shi Chen chenshi@microsoft.com
javadoc.mp4