artur-shaik / vim-javacomplete2

DEPRECATED in favor of jc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keystrokes for generating class-specific methods

reymalahay opened this issue · comments

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

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.

@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.