Editors' picks
OPEN-SOURCE SCRIPT

PineScript integration with Notepad++ (UDL)

10 841
THIS IS NOT AN INDICATOR!

This is PineScript integration with Notepad++ text editor (NPP). It supports PineScript v6 as of January 2026. Provides autocompletion, function list and syntax highlighting for *.pine files.

Why would anyone need this?
  1. Pine Editor doesn't provide function list yet
  2. Pine Editor doesn't allow changing fonts or syntax colors

Provided files together define a color scheme as close to current color scheme of Pine Editor as is possible in NPP. You can change the colors to suit your needs better. For example, I provide a file that changes all user-defined functions to be colored the same way Pine Editor colors imported functions. This provides clear distinction between system and user code.

Also Dark Mode users (on Windows) might not even know that Pine Editor uses Bold for types because it also uses Consolas font which has very thin Bold. Changing a font will make (standard) types stand out more.

INSTALLATION
  • Go to the source code of this release
  • For each @ filename inside the code create such a file and ensure it has encoding 'UTF-8' without BOM
  • Copy the following strings up until the first empty line
  • Paste those strings into newly created file
  • Remove "// " in front of each of the strings
  • Save the file
  • Follow additional instructions for that file if any

Restart Notepad++ after creating all the files.

If you don't want the fuss with copying strings, get the files from GitHub. There you can also see installation instructions, NPP screenshots and a theme to use with this UDL.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.