Eclipse删除右括号

时间:2016-04-22 17:10:06

标签: eclipse

以下步骤显示了在eclipse Java编辑器中的输入。

mock(  // I type this into Eclipse
mock(|) // Eclipse automatically adds the closing parenthesis, the | is my caret
mock(String.class|) // I fill out a class name, and an autocomplete window is shown.
mock(String.class); // I finish the statement by typing ");"

在我输入");"之后,Eclipse神奇地删除了括号,留下了我

mock(String.class;

这非常令人沮丧。有谁知道如何解决它?

Eclipse Java EE IDE for Web Developers.
Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600

0 个答案:

没有答案