CodeMirror Editor vs Monaco editor in ServiceNow

Kalyani35
Tera Guru

hi,

I want to understand the difference in terms of features in CodeMirror Editor vs Monaco editor.

ServiceNow has suggested us to set the value of either of these properties to false.

To resolve this please attempt one of the two items to see if this resolves the issue:

1.Disable completions
Set sys_property "glide.ui.syntax_editor.autocomplete" to false
Result: We don't see the error logs. However, we also no longer get autocomplete.

or

2. Use Codemirror editor instead of Monaco editor
Set/create sys_property "glide.ui.syntax_editor.polaris" with value false
Result: We don't see the error logs and also get autocomplete.

 

But we want to estimate what will be impact of making these properties false.

As I am not able to find any documentation related to these properties let me know if you have worked on these properties and what is difference on these two editors.

1 REPLY 1

Abbas_5
Tera Sage
Tera Sage

Hello @Kalyani35,

Please refer to the below link:
https://www.servicenow.com/community/developer-articles/some-tips-and-tricks-for-the-new-monaco-code...

 

Mark my correct and helpful, if it is helpful and please hit the thumbs-up button to mark it as the correct solution.
Thanks & Regards,
Abbas Shaik