eclipse neon - ignore json error
Asked Answered
S

1

6

I got few JSON in my project and after importing them to Eclipse Neon I saw red mark on file (and on project) complaining "JSON Problem".

My question is how can I disable/skip/ignore the JSON errors from Eclipse Neon,

Salinasalinas answered 12/8, 2016 at 12:2 Comment(1)
Can you show the specific errors?Livingston
L
4

You can configure JSON validation and error marking under Preferences > JSON > JSON Files > Validation.

enter image description here

It can be configured for the entire workspace or on a per-project level (see the link on the preferences page "Configure Project Specific Settings..."

Livingston answered 12/8, 2016 at 15:59 Comment(1)
Sadly, Validation is not the only source for JSON errors, some are emitted by "language servers" and some from somewhere else.Kean

© 2022 - 2024 — McMap. All rights reserved.