UPDATE by comment and update of the question:
so maybe what you are looking for is this:
/**
+ EnterKey
where /**
is what you write in the code and then you use EnterKey
an example:
/** + enter
public void mi_test(String test_parametro_1, String test_parametro_2){
}
/**
* @param test_parametro_1
* @param test_parametro_2
*
/
public void mi_test(String test_parametro_1, String test_parametro_2){
}
Added: For the third step, try the following Reformat code
Ctrl + Alt + L selecting, for Mac look in the guide that you leave in this answer, in the section Editing - > Reformat code
.
It's the alternative for al: Ctrl + Alt + F of Eclipse but right now I can not prove it on Intellij Idea.
may not work as expected
If it does not work as expected, you can always use the following:
/**
+ EnterKey .
then select the text you want to enter, and apply:
Ctrl + Shif + / .
then move or cut and paste, in the place you want, you just have to erase / * * / they are over, (not a practical solution) but it is what I can say right now, I can not try Ctrl + Alt + L .
If I have the possibility to use it I will see how it works and I will be able to delete this part if it is not necessary
ANCIENT
Maybe you can try the following (to use the shortcut by default):
Comment / uncomment with line comment Ctrl + /
Comment / uncomment with block comment Ctrl + Shift + /
For GNU / Linux
Comment line or selected lines (Line Comment):
Ctrl + /
Comment block of selected code (Block Comment):
Ctrl + Shif + /
For Windows
Comment line or selected lines (Line Comment):
Ctrl + /
Comment block of selected code (Block Comment):
Ctrl + Shif + /
For MAC
Use Cmd instead of Ctrl followed by the rest of the keys.
You can see other shortcuts here for different OS, shown for GNU / Linux and Windows and separate for Mac.
(search the link for the desired action, for example: Comment /uncomment with line comment
on the Mac page, to see how it would be)
If you want to remap the shortcuts, you can look at this question / answer