Skip to content

sdm-lang/sdml-vscode

Repository files navigation

SDML Extension for Visual Studio Code

SDML Logo Text

This extension, provides syntax support for the Simple Domain Modeling Language (SDML).

Features

Syntax highlighting is provided, based upon the existing TextMate grammar in the SDML.tmbundle repository.

Syntax Highlighting

Some of the TextMate bundle's snippets have been copied over as well.

The SDML command-line tool is integrated via the Terminal window. The available commands are:

  • Draw Concept Diagram
  • Draw Entity-Relationship Diagram
  • Draw UML Class Diagram

Known Issues

Does not yet support formal constraints.

Installation

This can be directly installed from

  • the Visual Studio marketplace
  • the Extensions View within VSCode, search for 'sdml'
  • The command line: code --install-extension SimonJohnston.sdml
  • or manually:
$ git clone https://github.com/sdm-lang/sdml-vscode.git
$ code --install-extension ./sdml-vscode

License

This package is released under the Apache License, Version 2.0. See LICENSE file for details.

Release Notes

0.2.1

  • Fix: update README for 0.2.0

0.2.0

  • Feature: add commands for drawing diagrams, accessible from the palette.
    • Commands only available when editing an SDML file.
    • Execute commands in a terminal window, this allows the user to learn the CLI.

Drawing via Terminal

  • Feature: add settings for command-line executable name and default drawing format.

Extension Settings

0.1.0

Initial release.