New CRMScript editor (again): Monaco


Hi all,

We have been testing whether it is possible to replace Codemirror as our CRMScript editor with Monaco (the basis of VSCode). We have currently implemented this as a testable feature in our latest build, hoping that some of you will try it out and tell us what is not working :-)

You can enable Monaco as your CRMScript editor by using the "rms.fcgi?action=debug" panel and tick the Monaco-checkbox. The setting is stored as a cookie in your browser and will only affect you in that particular browser, other users will not be affected. This setting is available in build "main_10.3.7_2024.05.23-01".


23 May 2024 | 08:04 AM

All Replies (14)

Haven't got this build on SOD yet, but just curious, any particular reason why you are replacing the editor (again)? (better javascript/typescript support for the future? something else?)

23 May 2024 | 08:17 AM
Yes, after testing we have concluded that Monaco is easier to work with for us, and it offers better support for intellisense for both javascript/typescript as well as CRMScript.

23 May 2024 | 11:00 AM

I haven't got this build yet either, but this is exciting! I can't wait to try it out. 

23 May 2024 | 09:44 AM

If you guys have some SOD tennant ID's, I can upgrade them.


23 May 2024 | 11:00 AM
23 May 2024 | 11:17 AM
Cust11255 please!
23 May 2024 | 11:17 AM
23 May 2024 | 02:01 PM
Cust27129, Thank you!
23 May 2024 | 02:03 PM
24 May 2024 | 11:28 AM

Cust26135 please.

23 May 2024 | 06:19 PM

Hi all,

I have upgraded the abovementioned sites to main_10.3.7_2024.05.24-01 and also changed them from being on Release to being on Main (otherwise they would have gotten upgraded back to Release tonight). Be aware that these sites will now be upgraded more frequently to our latest code. Let us know if you need them back on the Release-branch. This can probably not be done immediately, but next week when we merge from main to release.


24 May 2024 | 10:30 AM

Hi Sverre,

I got the new editor now, first impressions are good (related to intellissense, formatting, etc).

Did notice that it is trying to load a ts.worker.js file from the wrong url:

'' instead of ''

24 May 2024 | 10:40 AM

Thank you Sverre! I tested it out for about five minutes and I like it so far.

Things I like:

  • Intellisense description dialog box is easy to read and well formatted.


  • Things like struct properties are immediately visible in Intellisense without having to click Save first. Yay!


Things to look at:

  • When hitting enter at the end of a line, it inserts four spaces. I expect it not to insert any spaces or tabs, I can do that myself if needed. 🙂

  • When getting multiple syntax errors after clicking save, they sometimes lie on top of each other, making it cluttered:

  • After first getting one syntax error (likes the ones above), it doesn't help fixing the error and then clicking save. The error tooltips still show up until I click OK.
24 May 2024 | 11:06 AM

To the good people in this thread: 


7 Jun 2024 | 01:00 PM

Add reply