Your comments
I'm sorry, but I didn't completely understand the request. What are you trying to achieve, what's the use case?
Hello,
I would do it like this:
- create the python file(s) in Textastic in a folder within "Local Files" or "iCloud"
- use the file transfer screen to upload the files to your server using an SFTP connection
- use the SSH terminal to run the python file on your server using the same connection
- when you now make changes to the python files on your iPad, you can use the "Quick Upload" feature of Textastic to upload your file with two taps or a keyboard shortcut (Cmd-Option-Up)
Please have a look at these topics in the manual for details:
Uploading and Downloading Files: https://www.textasticapp.com/v10/manual/remote_servers/uploading_downloading.html
Quickly Upload/Download: https://www.textasticapp.com/v10/manual/remote_servers/quick_upload_download.html
Hello,
the latest documentation for adding custom syntax definitions can be found in the manual at https://www.textasticapp.com/v10/manual/customization/custom_syntax_themes_templates.html
Textastic currently supports TextMate 1 and Sublime Text 3 syntax definitions.
The markdown-redcarpet bundle you are using seems to be written for TextMate 2 and uses features that are not supported by Textastic, so unfortunately it doesn't work.
Please try to find a TextMate 1 bundle or Sublime Text 3 package instead.
I found this one which looks promising: https://github.com/randy3k/R-Box
You can press Ctrl-Shift-P on an external keyboard to show the scope at the cursor location.
You'll need to use scopes in your themes and code completion definition.
The uuid of a new code completion file should be a new unique identifier - it can be generated using the uuidgen command on a Mac. There are also online generators for uuids.
You can add custom syntax definitions to Textastic by using TextMate bundles or Sublime Text packages. See
https://www.textasticapp.com/v10/manual/customization/custom_syntax_themes_templates.html
This TextMate bundle should work:
Textastic uses the NSDocument architecture of macOS to open and save documents. This enables features like AutoSave, Versions, iCloud Drive and more.
When a file is saved, it is saved at a temporary location and then moved into the target folder. This requires write permissions for the folder.
You get the same permission dialog when trying to open a file in a read-only folder in TextEdit, so this is really a limitation of NSDocument.
Currently you can only do this by adding empty lines at the end of the file. I'll consider this feature for a future update.
Currently not, sorry.
Customer support service by UserEcho
Textastic's "Local Files" can be found in the Files app in "on my iPhone/Textastic". "iCloud" can be found in the Files app in "iCloud Drive/Textastic.
Also, the latest version of Textastic added a "Get File" shortcuts action that lets you retrieve and file from "Local Files" in Textastic by path.