react-ace icon indicating copy to clipboard operation
react-ace copied to clipboard

Auto Language Validation (show error markers) 8.0.0+

Open galitskyd opened this issue 5 years ago • 3 comments

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.

galitskyd avatar Mar 30 '20 13:03 galitskyd

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

smorovic avatar Apr 02 '20 14:04 smorovic

Any updates? Same problem yet, version 9.4.3.

axeldouglas avatar Sep 23 '21 15:09 axeldouglas

This removed a crucial feature.

MartinSchere avatar May 29 '22 20:05 MartinSchere