开发者

How to stop Eclipse from putting the variable type after the variable name [duplicate]

开发者 https://www.devze.com 2023-03-03 09:37 出处:网络
This question already has answers here: Ecli开发者_开发技巧pse auto suggesting and filling in variable names
This question already has answers here: Ecli开发者_开发技巧pse auto suggesting and filling in variable names (5 answers) Closed 9 years ago.

I would like to disable the autocompletion of putting the variable type after a variable name when declaring new variables. Although this may seem like a viable option for most, the naming conventions where I work do not allow this. I am sure this is a simple option to deselect, but I just can not seem to locate it.

Thank you in advance.


  1. Menu Window -> Preferences -> Java -> Editor -> Content Assist

  2. Uncheck Insert single proposals automatically

    How to stop Eclipse from putting the variable type after the variable name [duplicate]

  3. Click apply.


Follow the below menu to chage settings for content assist (eclipse v3.8.X)

window -> preferences -> java -> editor -> content assist -> advanced
0

精彩评论

暂无评论...
验证码 换一张
取 消