I tried, every time I click download when the lower right corner prompt I failed to download the resource.
0 Answer
I tried, every time I click download when the lower right corner prompt I failed to download the resource.
< P >< P > ctrl click on this method, select any one, go to the idea decompiled source, there is a download source in the upper right corner, The difference between your two diagrams is whether the source code is
.
Part of this answer references GPT, GPT_Pro to better solve the problem
To change the IDEA parameter prompt to look like the second picture, First you need to find "Editor" in the IDEA Settings, then open it, in the left menu find "Parameter Name Hints", after entering there will be a "Style" option, which contains different parameter hint styles. Select "Table" to change the parameter prompt style as shown in the second image.
Also, if you want to add more information to the parameter prompts, you can use the comments feature that comes with IDEA. Just add a comment identifier like /** */ in the code and fill it with the information you want to add, and IDEA will show up when the parameter prompts.
/**
* 这是一个test方法
* @param arg1 这是一个参数,用于表示xxx
* @param arg2 这是一个参数,用于表示xxx
*/
public void test(String arg1, int arg2){
// do something...
}
In the above example, we can see that arg1 and arg2 are preceded by a text statement, which is also a use of argument hints in IDEA.
If the answer is helpful, please accept it.
这家伙很懒,什么都没留下...