Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>LookML Syntax Enhanced (with SQL)New to Visual Studio Code? Get it now.
LookML Syntax Enhanced (with SQL)

LookML Syntax Enhanced (with SQL)

Antoine V

|
34 installs
| (1) | Free
Advanced syntax highlighting for Looker LookML files with full embedded SQL support, Liquid templates, and BigQuery compatibility. The most complete LookML highlighter for VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LookML Syntax Enhanced

Enhanced syntax highlighting for LookML files in VS Code and Cursor, with embedded SQL support.

Features

  • SQL Highlighting — Full syntax highlighting inside sql:, sql_on:, sql_where:, sql_table_name: blocks
  • LookML Keywords — Distinct colors for view, explore, dimension, measure, join, filter, parameter, etc.
  • Type Values — Highlighting for types like string, number, yesno, time, count, sum, etc.
  • Boolean Values — yes and no highlighted as language constants
  • Variables — ${field_name} references stand out clearly
  • Liquid Templates — {% if %}, {% endif %} and other Liquid tags highlighted
  • Arrays — Proper parsing of timeframes: [date, week, month, year]
  • Comments — # line comments

Supported File Extensions

  • .lkml
  • .view.lkml
  • .model.lkml
  • .explore.lkml
  • .dashboard.lkml

Installation

From VS COde / Cursor Search bar

image

From VSIX (recommended for teams)

  1. Download the .vsix file
  2. In VS Code/Cursor: Cmd+Shift+P → Extensions: Install from VSIX...
  3. Select the downloaded file
  4. Restart the editor

From Source

git clone https://github.com/AntoineValette/lookml-Syntax-Enhanced.git
cd lookml-syntax-enhanced
npm install -g @vscode/vsce
vsce package

Then install the generated .vsix file.

Why This Extension?

Google/Looker doesn't provide an official VS Code extension for LookML. Existing community extensions lack proper SQL highlighting inside LookML blocks, which makes working with derived tables and complex SQL painful.

This extension fills that gap.

Contributing

Issues and PRs welcome! The grammar is defined in syntaxes/lookml.tmLanguage.json.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft