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
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/[theme].tmLanguage`
- Sublime Text: `~/Packages/[theme].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)
發行說明
2024 OctoberEnormous update, thanks Frizz as well.
Too many fixes and updates to mention all.
BUT! I solved a long standing problem with strings highlighting correctly if correct syntax only, so that it doesn't go wild.
發行說明
Huge update.. faster too. far more detailed for types, methods, udts, maps... loads.. many hours hand coding regex.. many regexes. all the regexes... bug finding.. like wreck it ralph.. climb the tower, fight more bugs....發行說明
Fed up, i fully finished typing syntax everywhere in detail for map/ .new<...>, etc. i THINK it is done-ish up to date.I hope Tradingview catches the string syntax here and implements it =).
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
