Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Pine Script HighlightingNew to Visual Studio Code? Get it now.
Pine Script Highlighting

Pine Script Highlighting

Péter Dimitrov

|
2 installs
| (0) | Free
Syntax Highlighting for Pine Script
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pine script syntax highlighting for VS Code

Pinetree

Features

This extension adds Pine Script Syntax Hightlighting for VS Code. Intended for Pine Script coders so it's easier to use the Visual Studio Code IDE to help write Pine Script. Supports Pine Script v6, including type/enum/method declarations, generic collections (array<int>, matrix<float>, map<string,int>), matrix/map/table/polyline/chart.point/log/linefill namespaces, //@version and doc-comment annotations, and multiline """...""" strings.

Usage: Install in VSC this extension. Then files with .pine extension will get syntax highlighting. See example.pine to test...

Pine Example

Pull requests

If you find the syntax highlighting to be inadequate, please submit a PR.

Share

Do share good strategies or inidcators.

Note: This extension is provided as-is. It doesn't do tricks for your trading. Only colors what you write...

Thanks to @Jos512 for the Pine4 updates

This is a fork of leifcr/pine-script-syntax-highlighting, continued here with Pine Script v6 support.

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