Disclaimer: Pine Script™ is a trademark of TradingView. This project is not affiliated with, endorsed by, or connected to TradingView.
The Pine Script v5 Language Server Extension is a powerful addition to your VS Code setup, designed specifically to enhance the development experience for Pine Script v5. It brings a suite of advanced features to your fingertips, including robust syntax highlighting and intelligent code completion, which greatly facilitate the coding process. While TradingView offers an excellent domain-specific text editor, it lacks the level of customization that some users may desire. The recent break throughs in AI technology presents an opportunity to harness these tools to accelerate the production speed. This potential was one of my motivations for developing this extension. Furthermore, VS Code is on the cusp of releasing API features that will allow the creation of custom copilot agents, a capability already available in the insiders edition, which could provide additional impetus for using this extension. My aspiration is that the Pine Script community finds great value and utility in this tool, as its development has been a significant endeavor.
Hover Over Tooltips Get instant syntax descriptions and documentation by hovering over elements in your code.
Library Completions Autocomplete import statements with relevant library suggestions.
Quick Library Source Code Reference Simply hover over the import statement to view the source code in a hover over pop-up.
Function Signatures & Code Completions View function parameter information as you type. Intelligent suggestions for built-ins and parameters.
Theme Options Theme Options, One of them matching the TV Editor.
Built-in Access Open and edit Built-in Pine Script scripts with ease.
Templates Use templates for indicators, libraries, and strategies to kick-start your projects.
Docstrings Generate comprehensive docstrings for your functions and methods.
Type Generation Automatically generate and insert types for untyped variables in your scripts.
Via Visual Studio Code
- Open VS Code and navigate to the Extensions view by clicking on the square icon in the sidebar or pressing Ctrl+Shift+X.
- Search for Pine Script v5 Language Server in the Extensions view search bar.
- Click on the Install button.
Via Command Line
You can also install the extension directly from the command line:
code --install-extension frizLabz.pinescript
See the CONTRIBUTING.md for instructions.
If you encounter any bugs or issues while using this extension, please report them to help improve the tool. You can do so by:
Repo TeleGram:
Started By:
FFriZz at frizLabz
- FFriZz
Skilled in Full Stack Development and Node.js, and an expert in Pine Script.
For inquires: [email protected]
Buy me a coffee to support my work!
Thank you to everyone who has contributed to this project. Your input and efforts are greatly valued and help drive the success of this extension.