kaigouthro

Textmate Language for Pine Script v5 2023-05

kaigouthro Aktualisiert   
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
Versionshinweise:
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.
Versionshinweise:
Note to self: test more.

If anyone is interested in an ACE editor mode, let me know.
Versionshinweise:
Updated because matching scopes to Pine Editor more closely, and looks good across hundreds of themes in sync with other code languages.
Versionshinweise:
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)
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?