package.jsondefines the VS Code extension manifest and contribution points.language-configuration.jsoncontains bracket and basic editor rules for the language.syntaxes/eBPF assembly.tmLanguage.jsonholds the TextMate grammar for syntax highlighting.README.mddescribes how to generate.Sfiles and use the extension.
- No build step is required; this extension is shipped as static JSON metadata.
- Local smoke check: install the extension from the repo (VS Code: "Developer: Install Extension from Location...") and reload the window.
- Validate behavior by opening a sample
.Sfile and selectingeBPF assemblyas the language.
- Keep JSON formatting consistent with the file you edit; avoid reformatting unrelated sections.
- Preserve existing naming patterns for TextMate scopes (for example,
keyword.ebpf,constant.numeric.ebpf). - Use clear, descriptive regex names and keep grammar patterns grouped logically in
repository.keywords.
- There is no automated test suite in this repository.
- Manual verification is expected: update the grammar, then confirm highlighting in VS Code against a real
.Sfile.
- Commit messages in history are short, imperative, and lower-case (for example, “simplify the tokenization”).
- Pull requests should include: a brief description, the motivation for the change, and a screenshot or snippet showing the highlighting result if grammar changes are involved.
- Prefer small, focused edits to the grammar and configuration files.
- When changing highlighting behavior, document the new or adjusted pattern in the PR description with a sample line.