以下步骤显示了在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