Skip to content

Introduce syntax highlighting for .vue files

Himanshu Kapoor requested to merge 212279-webide-vue-files into master

What does this MR do?

Issue: #212279 (closed)

Web IDE: Add support for .vue files

Add support for syntax highlighting .vue files in the Web IDE.

Note: This syntax highlighting is mostly based on handlebars template defined in monaco-languages. The support for vue-specific highlighting is included in this MR, but is very basic, and is meant to be a guideline for future contributions to improve syntax highlighting for the Web IDE.

Screenshots

Script Style Template
Screenshot_2020-05-04_at_4.59.43_PM Screenshot_2020-05-04_at_5.01.50_PM Screenshot_2020-05-04_at_4.59.52_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Himanshu Kapoor

Merge request reports