← All extensions

Pine Script

v0.1.0 · by tinzleung · added 3 November 2026

Pine Script language support for Zed (v6-first, with v5 compatibility), including syntax highlighting and basic editor intelligence

Languages

How to install

With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.

You can also open the Extensions panel in the app and search for Pine Script. The extension's id is pine-script.

Don't have Forge Super yet? Download it here.

README

From the extension's repository, written by its authors and not by Mentenaz. See the source.

Pine Script for Zed

Pine Script language support for Zed, targeting Pine Script v6 (with v5 compatibility).

Provides syntax highlighting, structural outline, and basic editing support for Pine Script in Zed.


Language Support

This extension targets Pine Script v6 syntax, with backward compatibility for v5.

Note:

  • The underlying grammar is still evolving and may not cover all edge cases.
  • Some advanced or less common constructs may not yet be fully recognized.

Features

  • Syntax highlighting via Tree-sitter
  • Structural outline / symbols:
    • indicator(...)
    • strategy(...)
    • library(...)
    • User-defined functions
    • method
    • type
    • Top-level variables
  • Basic editor intelligence:
    • Indentation for common control structures (if, for, while, switch, etc.)
    • Bracket and quote matching
  • Language support for .pine and .ps files

Status

This extension is currently an early-stage, stable MVP.

Not Yet Supported

  • Snippets
  • LSP features (diagnostics, completion, hover, goto-definition)
  • Advanced query coverage (folds, locals, tags)
  • AI-specific integration or tooling

Usage

Open any .pine or .ps file in Zed.

The extension will automatically apply:

  • Pine Script syntax highlighting
  • Language configuration
  • Structural outline (symbols)

Development

Install the repository in Zed through the command palette:

  • Install Dev Extension
  • Select this repository

Zed loads the Pine grammar declared in extension.toml; this extension does not require an extension WASM module.

License

MIT. See LICENSE.

References