SPIRV-Tools/utils/vscode
Ben Clayton d28186db93
Fixes for the vscode language server extension (#4150)
Fix URL to the `OpenCL.DebugInfo.100` grammar file, which moved from `SPIRV-Tools` to `SPIRV-Headers`.

Add a `go.mod` and `go.sum` file.
Go has now fully migrated to using modules, and relative imports no longer work.
Fixup all the relative imports to use a fully qualified path based on the module name.

Fix the `.exe` executable extension on windows.

Update the generated grammar files.

Update the `README.md` with more information.

Disable generation of the log file. Seems to end up in the workspaceDir on windows, not the executable path
2021-02-26 18:07:00 +00:00
..
src Fixes for the vscode language server extension (#4150) 2021-02-26 18:07:00 +00:00
.gitignore utils: Add a vscode extension for SPIR-V disassembly files (#2987) 2019-10-28 10:06:14 -07:00
extension.js Make file formatting comply with POSIX standards (#3242) 2020-03-23 10:20:00 -04:00
go.mod Fixes for the vscode language server extension (#4150) 2021-02-26 18:07:00 +00:00
go.sum Fixes for the vscode language server extension (#4150) 2021-02-26 18:07:00 +00:00
install.bat Fixes for the vscode language server extension (#4150) 2021-02-26 18:07:00 +00:00
install.sh utils/vscode: Add SPIR-V language server support 2019-11-13 13:48:11 -05:00
package.json utils/vscode: Add SPIR-V language server support 2019-11-13 13:48:11 -05:00
README.md Fixes for the vscode language server extension (#4150) 2021-02-26 18:07:00 +00:00
spirv.json Fixes for the vscode language server extension (#4150) 2021-02-26 18:07:00 +00:00
spirv.json.tmpl utils/vscode: LSP - Support OpExtInst (#3140) 2020-02-04 11:21:10 -05:00

Visual Studio Code extension for SPIR-V disassembly files

This directory holds a Visual Studio Code language server extension for SPIR-V assembly files (.spvasm)

The extension supports:

  • Syntax highlighting
  • Jump to definition
  • Find all references
  • Symbol renaming
  • Operand hover information
  • Formatting

Dependencies

In order to build and install the Visual Studio Code language server extension, you will need to install and have on your PATH the following dependencies:

Installing (macOS / Linux)

Run install.sh

Installing (Windows)

Run install.bat