artur-shaik / vim-javacomplete2

DEPRECATED in favor of jc.nvim
Vim License
973 stars 83 forks source link

Keystrokes for generating class-specific methods #452

Closed reymalahay closed 3 years ago

reymalahay commented 3 years ago

Hi all,

Seasons Greetings and Happy New Year!

Is there a set of keystrokes to generate class-specific methods?

So this is the scenario: I am in a class called MySecretClass and i wish to define a method that is specific to that class only. Let's call the method mySecretMethod().

So let's say i am in line 50, and i write a method invocation for mySecretMethod(), but i must still define mySecretMethod(). What are the keystrokes to do that? Or would you recommend that I take advantage of the vim-javacomplete2 templates?

Please advise.

Thanks in advance, rey malahay

artur-shaik commented 3 years ago

Hello and Happy New Year!

As I understand you want to generate method with name that is under cursor now? If yes, so I think there is no such ability now. But may be this is something that can be implemented later.

reymalahay commented 3 years ago

@artur-shaik that's correct. no worries. thanks all the same.

Hello and Happy New Year!

As I understand you want to generate method with name that is under cursor now? If yes, so I think there is no such ability now. But may be this is something that can be implemented later.