比如现有 state.compareAndSet(expect, update); 语句。
什么快捷键能变成:
boolean result = state.compareAndSet(expect, update);
什么快捷键能变成:
boolean result = state.compareAndSet(expect, update);
|
OuyanganMar 24, 2016
1
这...我竟无言已对,懒癌晚期
|
|
2
ctrl+alt+v
|
|
m939594960Mar 24, 2016
6
@funCoder 还有这么神奇的功能 学到了~~~
|
|
7
Eclipse 也有个类似的 CTRL + 2 + L
|
|
8
|
|
9
用 idea 的 postfix completion 功能,输入 compareAndSet(expect, update).var ,按 tab 键就行了
|
|
cxzl25Apr 24, 2016
11
state.compareAndSet(expect, update).var + [TAB]
|