是的,这可能与Eclipse comment/uncomment shortcut?重复。但是,给出的答案并不适合我的情况。
我已经格式化了java代码,当我选择并使用ctrl + shift +/
时,它看起来像
/*
* if (isKilled) { Log.i("TAG", "Killed"); }
*/
但是当我对上面选定的代码使用ctrl + shift +/
时,Eclipse不会取消注释我的代码。
我尝试了 ctrl + shift +\
、ctrl + shift +/
和 ctrl +\
。什么都没起作用。即使注释的代码非常大,我总是手动删除 *s。
如何做到这一点?我还希望删除 *s。
最佳答案
尝试使用Ctrl+Shift+C 这应该有效
关于eclipse - 取消eclipse中多行代码的注释,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21724456/