Skip to content

Repository files navigation

DBML

Build Version Downloads

DBML language support for JetBrains IDEs.

  • Live entity-relationship diagram preview in a split editor, updated as you type
  • Click the diagram to jump to the matching table, column, or enum in the source
  • Diagram honours DBML headercolor / color settings and follows the editor colour scheme and font
  • Syntax highlighting for keywords, strings, numbers, comments, operators, and expressions
  • Escape sequence highlighting in multi-line strings
  • Colour preview and picker for headercolor / color hex codes
  • Human-friendly error highlighting for malformed .dbml files
  • Configurable colour scheme (Settings | Editor | Color Scheme | DBML)
  • Brace matching for {}, [], ()
  • Line and block comment toggling

Screenshots

Diagram Preview

Entity-relationship diagram preview

Syntax Highlighting and Colour Preview

Syntax highlighting and colour preview

Error Highlighting

Error highlighting

Installation

  • Settings > Plugins > Marketplace > search for "DBML" > Install

  • Or download from JetBrains Marketplace and install via Settings > Plugins > Install plugin from disk...

Supported Constructs

Tables, columns, enums, refs, indexes, table groups, table partials, named notes, and project definitions — the full DBML specification.

Known Limitations

  • The diagram preview needs JCEF (the IDE's embedded browser). In an IDE without JCEF, the preview pane shows a notice instead.
  • In very large files, clicking a colour swatch immediately after editing may show an error. This is a platform limitation — wait a moment for the highlighting pass to complete and the swatch will work again.

Links

Licence

Source code: MIT

The DBML logo is used with permission from the DBML maintainers under the terms of the Apache 2.0 licence.

About

Jetbrains IDE plugin to add syntax highlighting and validation to DBML files.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages