Giter Club home page Giter Club logo

pine-script-v5-vs-code's Introduction

Pine Script v5 Language Server for VS Code

Version Issues Downloads Stars Contributors Licance

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 advent of 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 Refrence 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 iconin the sidebar or pressing Ctrl+Shift+X.
  • Search for Pinescript 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

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:

  • Opening an issue on the GitHub repository.
  • Providing detailed information about the bug and steps to reproduce it.

Your feedback is valuable and contributes to the continuous development and enhancement of the extension.

Version Control

This project uses Git for version control. Each update is carefully documented through commits and tags to ensure you can track changes, updates, and fixes throughout the development process.

To-Do List

  • Automated Testing: Implement automated tests to ensure stability and reliability of the extension.
  • Test Environment Troubleshooting: Resolve issues preventing tests from running successfully in the VS Code environment.
  • Continuous Integration: Set up CI/CD pipelines to automate the build and deployment process.

Keep Documentation Up-to-Date

  • Review Existing Pine Script Documentation

    • Ensure all existing information is current with the latest version of Pine Script.
    • Check that all of the Pine Script syntax are documented.
  • Document New Features

    • Add documentation for any new features introduced in recent updates.
    • Provide examples on how to use new features effectively.

Fix Minor Bugs and Typos

  • Identify Bugs in Documentation

    • Look for inconsistencies or errors in the documentation that could mislead users.
    • Collect feedback from the community on parts of the documentation that may be confusing or incorrect.
  • Correct Typos and Grammatical Errors

    • Proofread text to find and fix typographical errors.
    • Ensure that the language used is clear and easy to understand.

Future Goals

  • TradingView Script Syncing: Explore secure methods for synchronizing scripts with TradingView. Although a direct approach using the sessionId was identified, it was not pursued due to respect for TradingView's policies and potential security concerns. Future plans include developing a solution that could involve a Chrome extension facilitating script operations without exposing sensitive session information. This would require users to be logged into their local Chrome browser. Contributions, especially from those with experience in Chrome extension development, are welcome and encouraged.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  • Fork the Project
  • Create your Feature Branch (git checkout -b feature/AmazingFeature)
  • Commit your Changes (git commit -m 'Add some AmazingFeature')
  • Push to the Branch (git push origin feature/AmazingFeature)
  • Open a Pull Request

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

pine-script-v5-vs-code's People

Contributors

frizlabz-ffrizz avatar slhsxcmy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.