Autocomplete via java doc in sublime

Asked

Viewed 58 times

3

I don’t know if I can express myself properly, but come on. In Java, when commenting on the code, we use the default

/**
* @author Nome do Autor; 
* @method Nome do Método;
*/

From this, in an IDE like the sublime, we can enjoy the auto complete feature from this information. Does anyone know how to configure or which plugin to install so that this feature is used in sublime text?

1 answer

1


There is a plugin called Docblock with support for Phpdoc.

It automatically adds comment that starts with /** and has a * at the beginning of each line. Any line within a documentation block that does not start with a * will be ignored.

/** 
 * @author Nome do Autor
 * @method Nome do Método;
 */
function foo ()
{
}
  • That’s nice. But when using the method in another file, it will offer me the autocomplete?

  • @user3043340, I just researched this plugin some time ago, I haven’t had a chance to test it yet, so I don’t have practical experience with it to answer this, I’m still trying to switch from Netbeans to the sublime :P

  • I changed it a while ago, I’m just missing it. In the rest it’s excellent, very fast. I’ll test it and tell you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.