Adding Custom Syntax Definitions, Themes, and Templates
You can also add custom file templates that appear in the file creation screen.
Add the Special Folder Called “#Textastic”
Go to the Local Files root folder
Tap the + button in the bottom toolbar
Choose Folder and enter
#Textasticas the Folder Name
Make sure the newly created folder has a special icon as seen in the screenshot below. The name of the folder (“#Textastic”) is case sensitive.
Add Custom Syntax Definitions and Themes
Move your Sublime Text 3 packages, TextMate bundles and theme files into the newly created directory (see Moving, Copying, and Renaming Files and Folders).
Sublime Text 3 packages are simple folders without a special file extension.
TextMate bundles are folders with a
Theme files have a
Templates have the file extension
To use new custom syntax definitions, themes, and code completions, you need to reload customizations:
Tap the Settings button (“gear” icon) in the bottom toolbar to open the settings screen.
Tap Reload Customizations to reload all syntax definitions, themes, and code completions.
All open files in the “Local Files/#Textastic” folder are automatically saved before reloading customizations.
You can also invoke “Reload Customizations” using the customizable keyboard shortcut Cmd-Shift-R.
This means that you can, for example, edit a theme or code completion file and simply press Cmd-Shift-R on an external keyboard to save and reload it, enabling easy customization.