React-ace: Auto Language Validation (show error markers) 8.0.0+

Created on 30 Mar 2020  路  1Comment  路  Source: securingsincity/react-ace

Problem

I noticed after updating to 8.0.0 (now 8.1.0) that my editors no longer validates the mode of choice and show error markers in the margins. For example, in JSON:

{
  "json": "example",,,,
}

would show an error marker due to too many commas, with no key-value pairs between. I'm assuming this is due to removing Brace behind the scenes. I confirmed that this worked prior to the big update.

With that being said, I have a few questions.

Is there an ace-builds ext equivalent I haven't seen to turn this functionality on?
Do I have to manually validate and show errors myself using the error_markers ext?
Other options?

Thanks in advance.

bug

Most helpful comment

I also ran into the same problem. Last release where this works is 7.0.5, with brace.

Problem can be seen in this example:
http://securingsincity.github.io/react-ace/

Syntax validation in Ace is on by default:
https://github.com/ajaxorg/ace/wiki/Syntax-validation

>All comments

I also ran into the same problem. Last release where this works is 7.0.5, with brace.

Problem can be seen in this example:
http://securingsincity.github.io/react-ace/

Syntax validation in Ace is on by default:
https://github.com/ajaxorg/ace/wiki/Syntax-validation

Was this page helpful?
0 / 5 - 0 ratings