Skip to content

WIP: Improved syntax highlighting in the Web IDE

Phil Hughes requested to merge ide-wasm into master

What does this MR do?

This brings improved syntax highlighting into the Web IDE by using the textmate library that VSCode uses. This allows for the full textmate grammars to be used through web assembly, creating much nicer highlighted files.

However, web assembly isn't supported in IE11 so we fall back to the old way of highlighting.

This also supports Vue highlighting out of the box with no extra configuration or packages needed.

Screenshot_2018-09-28_at_18.02.29

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52105

Does this MR meet the acceptance criteria?

Edited by James Ramsay (ex-GitLab)

Merge request reports