IntelliJ IDEA怎么开启用推断类型替换var

2024-10-14 00:34:08

1、首先,打开一个的IntelliJ IDEA的代码工具界面中

IntelliJ IDEA怎么开启用推断类型替换var

3、点击了file菜单之后,弹出了下拉菜单选中为 settings选项

IntelliJ IDEA怎么开启用推断类型替换var

5、选中左侧中的 code folding 选项,勾选上 replace var with inferred type 选项

IntelliJ IDEA怎么开启用推断类型替换var
猜你喜欢