vscode

module
v0.0.0-...-dd4b663 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0

README

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

Directories

Path Synopsis
src
langsvr implements a Language Server for the SPIRV assembly language.
langsvr implements a Language Server for the SPIRV assembly language.
grammar
Package grammar holds the JSON type definitions for the SPIR-V grammar schema.
Package grammar holds the JSON type definitions for the SPIR-V grammar schema.
lsp/jsonrpc2
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
lsp/protocol
Package protocol contains the structs that map directly to the wire format of the "Language Server Protocol".
Package protocol contains the structs that map directly to the wire format of the "Language Server Protocol".
lsp/span
Package span contains support for representing with positions and ranges in text files.
Package span contains support for representing with positions and ranges in text files.
parser
Package parser implements a SPIR-V assembly parser.
Package parser implements a SPIR-V assembly parser.
tools
gen-grammar generates the spirv.json grammar file from the official SPIR-V grammar JSON file.
gen-grammar generates the spirv.json grammar file from the official SPIR-V grammar JSON file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL