This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| xrpl:creating_xrpl_scripts [2019/05/05 18:59] – created Karsten75 | xrpl:creating_xrpl_scripts [2021/03/24 15:17] (current) – removed Karsten75 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Creating xRPL scripts ===== | ||
| - | Any text editor can be used to edit xRPL files. However, syntax highlight and auto completion makes coding a lot easier. Support files are provided for several available editors. | ||
| - | ==== Notepad++ ==== | ||
| - | Notepad++ is a popular, free, open-source editor. | ||
| - | |||
| - | Notepad++ can be obtained from here: [[http:// | ||
| - | |||
| - | * Once Notepad++ is installed you can add **syntax highlight** for the CRPL language. Currently there are two sample thems, one for the " | ||
| - | * Light theme: [[crpl: | ||
| - | * Deep Black theme: [[crpl: | ||
| - | * Download either (or both) of those files, then: | ||
| - | * Open Notepad++, | ||
| - | |||
| - | |||
| - | *You can add **keyword auto completion** to Notepad++ by download this file [[CRPL.xml]] | ||
| - | * To install into Notepad++ you need to copy CRPL.xml to your Notepad++ install directory\plugins\APIs directory. Then, restart Notepad++. Next, go to the Settings/ | ||
| - | * Alternatively, | ||
| - | * Use the same process to install as above. To see the description of the command, type the opening bracket " | ||
| - | * You can also create a keyboard shortcut to open the wiki of the current command you have your cursor on. | ||
| - | * In Notepad++, go into "Run -> Run", then type '' | ||
| - | |||
| - | ==== Visual Studio Code ==== | ||
| - | |||
| - | Visual Studio Code can be obtained from here: [[https:// | ||
| - | |||
| - | Features: | ||
| - | * Syntax Highlighting | ||
| - | * Looking stuff up on the wiki | ||
| - | * Syntactical diagnostics | ||
| - | * Implements several VSCode features for named entities (variables/ | ||
| - | * Checks to make sure variables are used (written to at least once and read from at least once) | ||
| - | |||
| - | Instructions: | ||
| - | |||
| - | * Download this *.vsix file: [[https:// | ||
| - | * In Visual Studio Code, Go to View -> Extensions. | ||
| - | * In the menu that opens, expand the more options menu in top right and press Install from VSIX, then point to the downloaded file. | ||
| - | * All files with the *.crpl extension will now automatically utilize the features above. | ||
| - | |||
| - | ==== Sublime Text ==== | ||
| - | |||
| - | Sublime Text can be obtained from here: [[https:// | ||
| - | |||
| - | Features include syntax highlighting and auto completion. | ||
| - | |||
| - | Instructions: | ||
| - | |||
| - | * In Sublime Text, go to Tools -> Command Palette. | ||
| - | * Type " | ||
| - | * Open the Command Palette again and type " | ||
| - | * In the menu that opens, type " | ||
| - | * All files with the *.crpl extension should now use this package. | ||
| - | |||
| - | ===== Translation Front-end ===== | ||
| - | |||
| - | Forum user [[https:// | ||
| - | |||
| - | There is a [[https:// | ||
| - | |||
| - | Time permitting, this deserves a more complete treatment and probably a section of it's own. | ||
| - | |||
| - | \\ | ||
| - | \\ | ||
| - | ===== Miscellaneous Highlighting Schemes ===== | ||
| - | === Syntax Highlighting in the Wiki === | ||
| - | |||
| - | Dokuwiki uses [[http:// | ||
| - | |||
| - | === Syntax Highlighting for Discord === | ||