GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pinecoders/pinescript-syntax: Language support for Pine Script V5 with Syntax Highlighting & Snippets

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

93 Commits
93 Commits

Folders and files

NameName
Last commit message
Last commit date
images
images
 
 
snippets
snippets
 
 
src
src
 
 
syntaxes
syntaxes
 
 
themes
themes
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
SNIPPET-LIST.md
SNIPPET-LIST.md
 
 
language-configuration.json
language-configuration.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

PineScript V5 Helper

Language support for Pine Script V5 with Syntax Highlighting & Snippets

Release Notes

3.4.3

09.11.2024 Update

  • Snippets for built-in variables, functions and constants updated to Pinescript release October 2024.
  • Pine Theme Original Dark now better match with TradingView default theme. The previous Pine Theme Original Dark changed to Pine Theme Original Dark Extend.

Introduction

Note: This is a forked project from JeylaniB's Pine Script extension.

PineScript Helper provides language support for PineScript, the scripting language used in TradingView. This extension enhances the coding experience by offering syntax highlighting, snippets, and hovers to provide reference manual information for PineScript scripts.


Features

  • Syntax Highlighting : The extension provides syntax highlighting for PineScript V5, making your code more readable and easier to navigate.


  • Snippets : Easily insert commonly used PineScript code blocks using snippets. Save time and increase productivity by leveraging the provided snippets.


  • Hovers : Hover over variables, functions, or keywords to view relevant reference manual information directly in the editor. Get quick access to documentation without leaving your code.


  • *PineScript Color Themes : The extension provides a collection of editor themes tailored for PineScript development, offering a visually pleasing environment for writing PineScript code.
    • Pine Theme Original Dark
    • Pine Theme Original Dark Extend
    • Pine Theme Dark Pro
    • Pine Theme Dark Pro Bold
    • Pine Theme Monokai Dark
    • Pine Theme Monokai Dark Bold
    • Pine Theme Blue
    • Pine Theme Blue Bold
    • Pine Theme Dark Low Contrast
    • Pine Theme Dark Low Contrast Bold
    • Pine Theme Grey
    • Pine Theme Grey Bold
    • Pine Theme Grey Candy
    • Pine Theme Light
    • Pine Theme Light Bold

Note: If you prefer a different theme, you are free to use any other themes of your choice. PineScript Helper is compatible with most themes.


Installation

Method 1: Install from VS Code Command Palette

Launch VS Code Command Palette (Ctrl+P), paste the following command, and press enter.

ext install salbert11.pinescript-helper

Method 2: Install from VSIX

  1. Download the latest release of the extension from the GitHub releases page.
  2. Launch Visual Studio Code.
  3. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
  4. Click on the "..." (More Actions) icon in the top-right corner of the Extensions view and select "Install from VSIX..."
  5. In the file dialog, select the downloaded VSIX file (pinescript-helper.vsix) and click "Open."
  6. Once installed, the PineScript Helper extension will be enabled automatically.

Method 3: Clone and Compile in Visual Studio Code

  1. Clone the PineScript Helper repository to your local machine using the following command:
  git clone https://github.com/salbert11/pinescript.git
  1. Open Visual Studio Code and navigate to the extension's directory by selecting File > Open Folder and choosing the cloned "pinescript-helper" folder.
  2. Install the required dependencies by running the following command in the integrated terminal of Visual Studio Code:
  npm install
  1. Once the dependencies are installed, build the extension by running the following command in the integrated terminal:
  vsce package
  1. After a successful build, the compiled extension file (pinescript-helper.vsix) will be created in the root directory of the extension.
  2. To install the extension, run the following command in the integrated terminal:
  code --install-extension pinescript-helper.vsix
  1. Once installed, the PineScript Helper extension will be enabled automatically.

Supported File Extensions

The PineScript Helper extension supports the following file extensions:

Supported File Extension
.ps
.pine
.pinecode
.script
.tdps
.trading
.tradingview

Usage

  1. Open a .pine or .pinescript file in Visual Studio Code.
  2. The PineScript Helper extension will automatically detect the file type and apply syntax highlighting accordingly.
  3. Use the available snippets to quickly insert commonly used PineScript code blocks.
  4. Hover over variables, functions, or keywords to view relevant reference manual information.

Contribution

Contributions are welcome! Please feel free to submit a pull request in the GitHub repository.


Feedback and Support

If you encounter any issues, have suggestions, or need support, please feel free to open an issue in the GitHub repository.


License

This extension is released under the MIT License.


Version 3.4.3

About

Language support for Pine Script V5 with Syntax Highlighting & Snippets

marketplace.visualstudio.com/items?itemName=salbert11.pinescript-helper

Resources

Readme
License
Activity
Custom properties

Stars

10 stars

Watchers

0 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.