Skip to content

ngaar/haskell-quasi-sql

Repository files navigation

Haskell SQL Quasiquotes (VS Code Extension)

A Visual Studio Code extension for syntax highlighting of SQL quasiquotes in Haskell.
Supports [sql| ... |], [rawSql| ... |], and [isql| ... |] blocks, with interpolations.

Features

  • Highlights SQL inside Haskell quasiquotes in .hs and .lhs files.
  • Supports optional namespace prefixes like [Query.isql| ... |].
  • Detects and highlights three types of interpolations:
    • ${value}
    • #{value}
    • funcName{value} (function-based interpolation)

Example

SQL highlighting example

About

Haskell Quasi Quote SQL Highlights for VS Code

Resources

License

Stars

Watchers

Forks

Packages

No packages published