0
Follow
0
View

How can I change the idea parameter prompt of the first picture into this one of the second picture

daiemen 注册会员
2023-02-25 20:20

I tried, every time I click download when the lower right corner prompt I failed to download the resource.

zg9954 注册会员
2023-02-25 20:20

< 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

.

img

dapsjj 注册会员
2023-02-25 20:20

You can download the source code of the dependency package.

lijie43011 注册会员
2023-02-25 20:20

I don't find Parameter Name Hints here, eh?

df891202 注册会员
2023-02-25 20:20

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.

About the Author

Question Info

Publish Time
2023-02-25 20:20
Update Time
2023-02-25 20:20

Related Question

springboot中的themis是啥

out of memory

how can I optimize my app because it always crashes

"auth.authenticate_user()"和"drive.mount"

argparse库报argparse error: the following arguments are required

滑块曲柄环路方程,用MATLAB求解,获取滑块运动l,与角度theta的关系

MELSOFT GX Works3

PyCharm提示“This version of python seems to be incorrectly compiled”

为什么(Neo)Vim配色方案不影响Pmenu, PmenuThumb, CocInfoFloat等?

websphere8.5 安装SUPPL资源库时报出需要 microsoft visual C++2008 redistributable