• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..09-Dec-2020-

src/H09-Dec-2020-9578

syntaxes/H09-Dec-2020-465461

.gitignoreH A D09-Dec-202048 44

.vscodeignoreH A D09-Dec-2020118 77

CHANGELOG.mdH A D09-Dec-2020231 95

README.mdH A D09-Dec-20201.3 KiB4734

language-configuration-tablegen.jsonH A D09-Dec-2020828 3030

language-configuration.jsonH A D09-Dec-2020617 2726

package-lock.jsonH A D09-Dec-202013.3 KiB324323

package.jsonH A D09-Dec-20203.5 KiB122122

tsconfig.jsonH A D09-Dec-2020566 2120

vsc-extension-quickstart.mdH A D09-Dec-20201.5 KiB3019

README.md

1# VS Code Extension For LLVM Dev
2
3## Features
4 - LLVM IR files (.ll) syntax highlighting.
5    (manually translated from `llvm/utils/vim/syntax/llvm.vim`)
6 - TableGen files (.td) syntax highlighting.
7    (translated from `llvm/utils/textmate`)
8 - PatternMatchers for LIT test output.
9    (`$llvm-lit`, `$llvm-filecheck`)
10 - Tasks to run LIT on current selected file.
11    (`Terminal` -> `Run Task` -> `llvm-lit`)
12
13## Installation
14
15```sh
16sudo apt-get install nodejs-dev node-gyp npm
17sudo npm install -g typescript npx vsce
18```
19
20### Install From Source
21```sh
22cd <extensions-installation-folder>
23cp -r llvm/utils/vscode/llvm .
24cd llvm
25npm install
26npm run vscode:prepublish
27```
28`<extensions-installation-folder>` is OS dependent.
29
30Please refer to https://code.visualstudio.com/docs/editor/extension-gallery#_where-are-extensions-installed
31
32### Install From Package (.vsix)
33
34First package the extension according to
35https://code.visualstudio.com/api/working-with-extensions/publishing-extension#usage.
36
37Then install the package according to
38https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix.
39
40## Setup
41
42Set `cmake.buildDirectory` to your build directory.
43
44https://code.visualstudio.com/docs/getstarted/settings
45
46https://vector-of-bool.github.io/docs/vscode-cmake-tools/settings.html#cmake-builddirectory
47