kaigouthro

Textmate Language for Pine Script v5 2023-05

kaigouthro 已更新   
Updated Syntax Colouring to include UDT and methods and libraries, and a few other extras.

Remember to Update when new built in language features are introduced.

This will not be Maintained frequently, it's an update to present times
版本注释:
To use a tmLanguage file in VS-Code or Sublime Text:

1. Download and install the theme or file to the correct location for your respective editor:
- VS Code: `~/.vscode/extensions/.tmLanguage`
- Sublime Text: `~/Packages/.tmLanguage`

2. Activate the theme or tmLanguage file within the editor's settings.

3. For VS Code, you can also use the VS Code command pallete to install a new theme or modify your syntax highlighting preferences.

4. For Sublime Text, you can select the theme or language file from the toolbar in the top-right corner.
版本注释:
Note to self: test more.

If anyone is interested in an ACE editor mode, let me know.
版本注释:
Updated because matching scopes to Pine Editor more closely, and looks good across hundreds of themes in sync with other code languages.
版本注释:
Fixed a few hidden bugs, got rid of any overlaps, went completist on all current built ins.

If you use the "tomorrow night" themes it is nostalgia for the old pine editor.


It also highlights markdown comment code (basics), and with a //``` tag, will highlight your source code or embedded pine script in comments ( good for building markdown ++ hovers for libraries)
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?