Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我会有一些论文,会在程序中间返回,但是当我写完返回时;返回后的代码将被视为无用代码,除非我标记它们并且在它之后我必须取消标记它们,否则我无法执行它,有没有什么好方法让 eclipse 在返回后关闭我的冗余代码?
如果您不想注释掉代码,可以这样做:
code; if(true) { return; } more code;