Skip to content

frizLabz-FFriZz/Pine-Script-v5-VS-Code

Repository files navigation

Pine Script v5 Language Server for VS Code

Version Issues Downloads Stars Contributors License

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.


Features

Hover Over Tooltips Get instant syntax descriptions and documentation by hovering over elements in your code.

HoverOverGif

Library Completions Autocomplete import statements with relevant library suggestions.

LibCompletions

Quick Library Source Code Reference Simply hover over the import statement to view the source code in a hover over pop-up.

LibHover

Function Signatures & Code Completions View function parameter information as you type. Intelligent suggestions for built-ins and parameters.

Signatures_and_Completions

Theme Options Theme Options, One of them matching the TV Editor.

Themes

Built-in Access Open and edit Built-in Pine Script scripts with ease.

BuiltInGif

Templates Use templates for indicators, libraries, and strategies to kick-start your projects.

TemplatesGif

Docstrings Generate comprehensive docstrings for your functions and methods.

DocstringGif

Type Generation Automatically generate and insert types for untyped variables in your scripts.

TypifyGif


Installation

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

Contributing

See the CONTRIBUTING.md for instructions.

Reporting Bugs

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:

Telegram Logo


Started By:
FFriZz at frizLabz
TV Account page - 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!

Buy Me a Coffee


Special Thanks

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.

Contributors:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published