# Editor - colored keywords

**URL:** <https://discourse.nodered.org/t/editor-colored-keywords/28456>\
**Category:** General\
**Created:** [17 June 2020 08:09 UTC](https://discourse.nodered.org/t/editor-colored-keywords/28456 "2020-06-17T08:09:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)\
**Post date:** [17 June 2020 10:08 UTC](https://discourse.nodered.org/t/editor-colored-keywords/28456/3 "2020-06-17T10:08:28Z")

</div>

Compared to a full-featured IDE or rich editors like VSCode with a language server and all that, ACE can only make basic assumptions about the semantics and types in the script.

One should also keep in mind that `hasOwnProperty` and ` trim` aren't JS language keywords, those are just regular functions on certain objects. And since `msg.payload` could be anything, `trim()` won't get any special highlighting.

So I doubt there will ever be any 'advanced' highlighting (or advanced code completion) in ACE.

A forum member tried to integrate the Monaco editor: [Using Monaco editor - monaco branch now in fork](https://discourse.nodered.org/t/using-monaco-editor-monaco-branch-now-in-fork/26561)  
From what I saw it would offer some more features regarding all that, but that is all just a proof-of-concept at the moment.

---

_[View the full topic](https://discourse.nodered.org/t/editor-colored-keywords/28456)._
