jeyllani / pinescript

https://marketplace.visualstudio.com/items?itemName=JeylaniB.pinescript
29 stars 12 forks source link

Pine Script V5

⭐ Syntax Highlighting | Snippets | Hovers ⭐

### **Update** * Language Reference Hovers #### **Realease Info** * Complementary Pine Editor Themes extension is available **[here](https://marketplace.visualstudio.com/items?itemName=JeylaniB.pine-editor-themes)** --- #### **Syntax** --- #### **Hovers** --- #### **Snippets** --- | Snippets Info | | | | Supported File Extension | | ----------------- | :------: | - | - | :----------------------- | | function | `𝑓 ` | | | `.help` | | variable | `𝑥 ` | | | `.ps` | | script | `𝑓𝑥` | | | `.pine` | | language operator | `⟗ ` | | | `.pinecode` | | comment | `//` | | | `.script` | | reference url | `ⓘ` | | | `.tdps` | | info date\|time | `🧭 ` | | | `.trading` | | unicode | `U ` | | | `.tradingview` | --- ### **Prefix's** | *Domains* | | *Language Words* | *Shortcut Snippet* | | --------------------------- | :-: | ----------------------------------- | -------------------- | | `all built-in variables ` | | `alert_message` | `ln` | | `all built-in functions ` | | `backtest_fill_limits_assumption` | `bx` | | `operator\|op ` | | `bordercolor` | | | `variable ` | | `calc_on_order_fills` | | | `function ` | | `char` | | | `script\|s` | | `close_entries_rule` | | | `f ` | | `color` | | | `comment ` | | `comment` | | | `/ ` | | `commission_type` | | | `// ` | | `currency` | | | `info ` | | `default_qty_type` | | | `unicode ` | | `defval` | | | `library` | | `display` | | | | | `editable` | | | | | `explicit_plot_zorder` | | | | | `export\|library.function` | | | | | `field` | | | | | `format` | | | | | `formatString` | | | | | `freq` | | | | | `from_entry` | | | | | `gaps` | | | | | `group` | | | | | `ignore_invalid_symbol ` | | | | | `import` | | | | | `inline` | | | | | `join` | | | | | `linestyle` | | | | | `location` | | | | | `lookahead` | | | | | `message` | | | | | `order` | | | | | `overlay` | | | | | `position` | | | | | `process_orders_on_close` | | | | | `scale` | | | | | `separator` | | | | | `shorttitle` | | | | | `size` | | | | | `style` | | | | | `textalign` | | | | | `text_halign` | | | | | `text_size` | | | | | `text_valign` | | | | | `ticker` | | | | | `timeframe` | | | | | `timezone` | | | | | `title` | | | | | `tooltip` | | | | | `trackprice` | | | | | `wickcolor` | | | | | `xloc` | | | | | `version` | | --- ### Roadmap 1. Updating `f` and `script` domains 2. Implementing hover informations ✅ 3. Implementing intellisense autocompletion --- ### **Hover Issue** * After udating if the hovers don't work * 1. Unistall the extension * 2. Open .vscode file from explorer or finder, or execute `open .vscode` in the terminal * 3. Delete jeylaniB.pinescript folder * 4. Reinstall the extension --- ### Contributions - If you want to report an error, snippet suggestion, script to add or anything else [pull request](https://github.com/jeyllani/pinescript/pulls) --- ### Support Us - If you find this extension useful and want to support it * **BTC** *13tRgbSFSLEgNzdQt21THir8afuqYVi1pA* * **ETH** *0x768d0068989f68ccdabcbae8256e9d7d7a48ff98* * **ADA** *DdzFFzCqrhsxjjPrRKZtjayLJ9bCzbdCm82J2zbhE63EB1sGYJdp3R6mLkEyQSTmFhSJsHW6rNDHZx4M77p9LwmvrCLxMhwW2yxZ1Auw* * **LTC** *LMGsFqKo6rKXncEc3hb1Rxd2WWiHUJmf8E* * **XMR** *89GRBG7HrqSGMRjsPPo4W7HcEeqVpgB7UMttaGPEr9KJEwzDqq7vmxci9k7VmhcqUpWAvs2TE7qqgAMZVTX4pnAM97UAZi4* --- ##### Version *3.0.1*