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

..12-Oct-2021-

src/H12-Oct-2021-9578

syntaxes/H12-Oct-2021-499495

.gitignoreH A D12-Oct-202148 44

.vscodeignoreH A D12-Oct-2021118 77

CHANGELOG.mdH A D12-Oct-2021231 95

README.mdH A D12-Oct-20211.3 KiB4734

language-configuration-tablegen.jsonH A D12-Oct-2021828 3030

language-configuration.jsonH A D12-Oct-2021617 2726

package-lock.jsonH A D12-Oct-202113.3 KiB324323

package.jsonH A D12-Oct-20213.5 KiB122122

tsconfig.jsonH A D12-Oct-2021566 2120

vsc-extension-quickstart.mdH A D12-Oct-20211.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