1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/utils/vscode
Simon Tatham 87e348953e [TableGen] Update editor modes for new keywords.
Summary:
D71407 and D71474 added new keywords to the Tablegen language:
`defvar`, `if`, `then` and `else`. This commit updates the various
editor modes to highlight them appropriately.

Some of the modes also didn't include `defset`, so I've added that too
while I was there.

Reviewers: MaskRay, lebedev.ri, plotfi

Reviewed By: lebedev.ri

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72693
2020-01-14 13:39:00 +00:00
..
tablegen
README

This directory contains a "bundle" for doing syntax highlighting of TableGen
files for the Microsoft VSCode editor. The highlighting follows that done by
the TextMate "C" bundle as it is a translation of the textmate bundle to VSCode
using the "yo code" npm package. Currently, keywords, comments, and strings are
highlighted.

This colorizer was generate by the vscode-generator tool "Yo Code"
(https://github.com/Microsoft/vscode-generator-code) from the existing TableGen
text TableGen.tmLanguage syntax colorizer in utils/textmate. This README was
copied from utils/textmate/README.

To install this VSCode .td file colorizer, copy it to the following locations
per your Operating System:

  - Windows: %USERPROFILE%\.vscode\extensions
  - Mac: ~/.vscode/extensions
  - Linux: ~/.vscode/extensions