Turn off selected HTML errors in eclipse

后端 未结 3 1234
温柔的废话
温柔的废话 2021-02-07 08:30

I recently upgraded my Eclipse to Ganymede, version 3.4.2.

Now it\'s giving me a ton of errors on the HTML in my JSPs for things like parameter values with no quotes and

相关标签:
3条回答
  • 2021-02-07 08:42
    1. Right click on your project in Eclipse.
    2. Select 'Properties'.
    3. Select 'Validation'.
    4. Check 'Enable project specific settings'.
    5. Uncheck any validators you want (such as HTML Syntax Validator)
    6. Rebuild project.

    You may need to go into Windows->Preferences->Validation and check 'Allow projects to override these preference settings'.

    0 讨论(0)
  • 2021-02-07 08:57

    Have you tried:

    1. Click Window > Preferences. A Preferences window appears.
    2. In the Preferences window, click Workbench > Editors.
    3. Select one of the following options:
      • To turn off real-time syntax validation, click Structured Text Editor and uncheck the Analyze annotations while typing box.
      • To control other annotation settings, click Annotations and select your annotation preferences.
    4. Click OK to save your preferences and close the page.

    From this Ganymede help page.

    Another method: Window > Preferences > Validation. Then uncheck the Manual and Build boxes next to HTML Syntax Validator and JSP Syntax Validator.

    0 讨论(0)
  • 2021-02-07 09:00

    Check this Go to

    Window > Preferences. Under Web > HTML Files > Validation

    you'll find "Missing start tag:" and "Missing end tag:" exlips setting

    0 讨论(0)
提交回复
热议问题