Skip to content
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

Completing /** should generate Javadoc with params #228

Closed
fbricon opened this issue May 28, 2017 · 17 comments
Closed

Completing /** should generate Javadoc with params #228

fbricon opened this issue May 28, 2017 · 17 comments

Comments

@fbricon
Copy link
Collaborator

fbricon commented May 28, 2017

typing /**+Enter on top of methods/constructors should generate Javadoc with parameters like in Eclipse or typescript support in VS Code:
may-28-2017 01-05-06

@spiker9
Copy link

spiker9 commented May 16, 2018

It doesn't work

@fbricon
Copy link
Collaborator Author

fbricon commented May 16, 2018

No it doesn't, since the bug is still open

@erihanse
Copy link

Please use the voting button @spiker9

@msandim
Copy link

msandim commented Jun 26, 2018

This!

@jagarcia-xumak
Copy link

This would be the dream, one step closer to get rid of IntelliJ, please make this happen

@fbricon
Copy link
Collaborator Author

fbricon commented Aug 21, 2018

Kudos to @snjeza for making it happen:

aug-21-2018 19-43-00

@fbricon fbricon added this to the End August 2018 milestone Aug 22, 2018
@timobehrens
Copy link

@fbricon How do I activate this? I don't get the javadoc comment autocomplete. I have the latest version of Language Support for Java installed.

@timobehrens
Copy link

OK, so I get it for some method signatures, but not for all.

This one is triggered correctly:

private CloudFile getCloudFile(String shareName, String folderPath, String fileName){

And this one isn't:

public boolean downloadFile(String shareName, String folderPath, String fileName, String destinationFolder) {

@snjeza

@fbricon
Copy link
Collaborator Author

fbricon commented Sep 25, 2018

I guess it's enabled for public methods only, for some reason

@timobehrens
Copy link

It's actually the other way round: Only private methods trigger it.

@fbricon
Copy link
Collaborator Author

fbricon commented Sep 25, 2018

mmm it looks like sometimes the completion is too slow to show up. Can you just try and wait for a couple seconds after /** ?

@Monkatron95
Copy link

Monkatron95 commented Jan 10, 2019

I have the latest version of this language support installed, and the latest version of vscode; this feature does not work for any functions withing my Spring Boot application, no matter what access modifier is used.

Is anyone else having issues with this feature?

@praenubilus
Copy link

Latest version, not triggered for either public or static version

@chuckb
Copy link

chuckb commented Feb 22, 2019

1.31.1 VSCode and 0.39.0 Language Support for Java. Javadocs will not format parameters. Used to work. Now does not.

@fbricon
Copy link
Collaborator Author

fbricon commented Feb 22, 2019

Please open a new ticket with steps to reproduce

@spottedmahn
Copy link

is there a way to trigger it to update the Javadoc comment for added/removed params?

@deekshithanand
Copy link

is there a way to trigger it to update the Javadoc comment for added/removed params?

Well I dont know if this is feasible as a feature, but currently I remove the entire javadoc comment and regenerate it...(of course,I would have copied the content in between)!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests