Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 12-Oct-2021 | - | ||||
src/ | H | 12-Oct-2021 | - | 95 | 78 | |
syntaxes/ | H | 12-Oct-2021 | - | 499 | 495 | |
.gitignore | H A D | 12-Oct-2021 | 48 | 4 | 4 | |
.vscodeignore | H A D | 12-Oct-2021 | 118 | 7 | 7 | |
CHANGELOG.md | H A D | 12-Oct-2021 | 231 | 9 | 5 | |
README.md | H A D | 12-Oct-2021 | 1.3 KiB | 47 | 34 | |
language-configuration-tablegen.json | H A D | 12-Oct-2021 | 828 | 30 | 30 | |
language-configuration.json | H A D | 12-Oct-2021 | 617 | 27 | 26 | |
package-lock.json | H A D | 12-Oct-2021 | 13.3 KiB | 324 | 323 | |
package.json | H A D | 12-Oct-2021 | 3.5 KiB | 122 | 122 | |
tsconfig.json | H A D | 12-Oct-2021 | 566 | 21 | 20 | |
vsc-extension-quickstart.md | H A D | 12-Oct-2021 | 1.5 KiB | 30 | 19 |
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