# How enable syntax error

**URL:** <https://discuss.elastic.co/t/how-enable-syntax-error/311270>\
**Category:** Kibana\
**Created:** [August 3, 2022, 7:44am UTC](https://discuss.elastic.co/t/how-enable-syntax-error/311270 "2022-08-03T07:44:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomASZ1](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@tomASZ1](https://discuss.elastic.co/u/tomASZ1)\
**Post date:** [August 3, 2022, 7:44am UTC](https://discuss.elastic.co/t/how-enable-syntax-error/311270/1 "2022-08-03T07:44:38Z")

</div>

hi i use ace in kibana but hi dont show my syntax in ace is this option

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/5/35792734d3bd379a5240140b4ad2fe430afc84e2.jpeg)  
 ![ace1](https://us1.discourse-cdn.com/elastic/original/3X/f/2/f251882c51ac6d9b5b7cc8a12b51164d0e2e723f.png)

```auto
 <EuiCodeEditor
        mode="yaml"
        theme={chrome.getUiSettingsClient().get('theme:darkMode') ? 'dracula' : 'github'}
        width="100%"
        value={customValue}
        onChange={value => setCustomValue(value)}
        setOptions={{
          fontSize: '14px',
          enableBasicAutocompletion: true,
          enableSnippets: true,
          enableLiveAutocompletion: true,
          minLines: 20,
          maxLines: 200,
        }}
      />
      <EuiSpacer size="xxl" />
      <FinalButtons
        executeFunction={testOrSaveUpdate}
        loadingState={loadingState}
        createVisable={createVisable}
      />
    </>

```

```auto

        <EuiCodeEditor
          id={id}
          name={name}
          mode={mode}
          theme="github"
          value={getValue() || ''}
          isReadOnly={isReadOnly || false}
          isInvalid={error}
          onChange={this.handleChange}
          onBlur={this.handleBlur}
          width={fullWidth ? '100%' : undefined}
          className={className}
        />
      </EuiFormRow>
    );

```

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [August 12, 2022, 10:30pm UTC](https://discuss.elastic.co/t/how-enable-syntax-error/311270/2 "2022-08-12T22:30:36Z")

</div>

Not sure which version of Kibana you are using, can you please elaborate on it . On 8.3.3 version, I do see the syntax errors.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 9, 2022, 10:31pm UTC](https://discuss.elastic.co/t/how-enable-syntax-error/311270/3 "2022-09-09T22:31:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
