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 会显示括号错误。我必须剪切有错误的代码并将其粘贴回来,然后错误就会消失。这很烦人。有没有办法强制eclipse重新验证代码?
你可以试试Project -> Clean,看看Project -> Build Automatically选项是否被选中。
Project -> Clean
Project -> Build Automatically
转到项目 -> 清理
这将迫使 Eclipse 再次重新验证代码