Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aptmac/vscode-byteman


https://github.com/aptmac/vscode-byteman

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# vscode-byteman: A Byteman Language Extension

A Visual Studio Code Language Extension for Byteman.

## Installation

vscode-byteman currently requires manual installation, and it is an easy task. Once downloaded, this folder (byteman-language-plugin) must be copied into the vscode extensions folder located at : ``/home//.vscode/extensions``.

Here's a command to install the extension:
``cp -r ~/.vscode/extensions``

## Features
- VS Code should auto-recognize ``.btm`` files
- Basic Byteman Language Support
- Basic Syntax Highlighting
- Basic Generic Template Rule Snippet
- To use, start typing "RULE", and a drop-down option should appear with the label "Rule Template". Selecting it will generate a generic template that can be filled in.

## Contributing

When making changes on the source-code, the folder must be re-copied to the ``~/.vscode/extensions`` folder in order to apply the changes. Visual Studio Code will also need to be restarted.

To get started, in the grammar file at ``syntaxes/byteman.tmLanguage.json`` there are some useful documents included in a coment at the top. There is a link to the Byteman Language Syntax a found on the Byteman repo, a link to an existing language extension to get inspiration from, and a link to the manual for creating tmLanguage grammars as written by TextMate.

## Thinking Big (TODOs & Future Areas of Improvement)
- Add more languge Snippets for specific needs (tracing, binding, operations, etc.)
- Add more detailed and comprehensive grammar (with better capturing)

## Release Notes

### 0.0.1

Current Release.