dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
860 stars 467 forks source link

Force HTML highlighting for .vtl files #28084

Closed wezell closed 3 months ago

wezell commented 6 months ago

User Story

When editing a VTL using the new monaco editor in the system, it is important that I should get good syntax highlighting on my files. As there is no VTL setting for monaco, we should force the HTML syntax onto VTL files.

This is how it looks now:

Screenshot 2024-03-26 at 4 26 09 PM

Acceptance Criteria

I should see HTML color coded when looking at a VTL file

Proposed Objective

Technical User Experience

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

zJaaal commented 3 months ago

IQA Passed

Docker Image: [dotcms/dotcms:trunk_430f4c7]

Screenshot

https://github.com/user-attachments/assets/45a2c2b5-5de8-48f4-9f36-e7855addd208

bryanboza commented 3 months ago

Fixed, tested on trunk and now it is working as expected

Image

erickgonzalez commented 3 months ago

Only for 24.04 LTS