In Eclipse, can I remove the red error markers?

后端 未结 3 1257
夕颜
夕颜 2021-02-02 09:40

I need to view source files from a project (C++) that I do not intend to run. Loaded in Eclipse, it has many errors due to missing libraries. Is there a way to tell Eclipse to i

3条回答
  •  粉色の甜心
    2021-02-02 09:53

    It's possible to tell Eclipse not to underline the text / show it in the vertical or overview ruler by unchecking all checkboxes in Window -> Preferences -> General -> Editors -> Text Editors -> Annotations -> Errors

    As you only want to view the code, I'd recommend another editor like Notepad++, Sublime Text or (my personal favourite) vim/gvim. Eclipse is a little bit too 'heavy' for just viewing code.

提交回复
热议问题