# Syntax checking in Monaco in Dashboard 2 templates

**URL:** https://discourse.nodered.org/t/syntax-checking-in-monaco-in-dashboard-2-templates/86398
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [13 March 2024 12:10 UTC](https://discourse.nodered.org/t/syntax-checking-in-monaco-in-dashboard-2-templates/86398 "2024-03-13T12:10:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 March 2024 12:10 UTC](https://discourse.nodered.org/t/syntax-checking-in-monaco-in-dashboard-2-templates/86398/1 "2024-03-13T12:10:50Z")

</div>

Currently (for me anyway) syntax checking in a D2 ui-template does not fully function. This is a right pain as often all one gets is an error in the browser console complaining about an invalid token, when the dashboard is loaded, and it can be very difficult to track this down to a location in the script. Is there anything that can be done about this?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [13 March 2024 12:14 UTC](https://discourse.nodered.org/t/syntax-checking-in-monaco-in-dashboard-2-templates/86398/2 "2024-03-13T12:14:36Z")

</div>

see here: [Weather card - struggling with methods - #6 by Steve-Mcl](https://discourse.nodered.org/t/weather-card-struggling-with-methods/85434/6)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [12 April 2024 12:14 UTC](https://discourse.nodered.org/t/syntax-checking-in-monaco-in-dashboard-2-templates/86398/3 "2024-04-12T12:14:54Z")

</div>

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