0
Under review

Redirect URLs starting with "/" to the project folder

John 4 years ago in iPad updated 4 years ago 3

Modify the server (perhaps via a checkbox) so that when previewing HTML code with root references they reflect in the project folder.

For example:

<head>
    <script src="/script.js"></script>

</head>

would have "/script.js" redirected to "localhost/XYZ/Root project folder/script.js" via a 302 request, and maybe an option to toggle this?


You can use the "Referer" request header to assosiate the request to a project, and then alter the URL accordingly.


In your past comments on the issue you added to 'just use <script src="script.js"></script> instead' which doesn't work when you have a nested file structure such as:

Project Root

 -> script.js

 -> index.html

 -> Nested Folder

 ----> page_1.html

-> Images

 ----> image_1.png 


And you want page_1.html to access images or scripts from the root. (i.e. an image with the path "/Images/image_1.png" is the correct way of doing this).

The current behaviour (of not redirecting) makes serious "nested folder" (as in the majority of websites) web development near-impossible on the editor, as you can't locally test.



To confirm the steps for a fix:

  1. Request is made for a URL
  2. Check to see if the file exists at the request location, if it does serve the file and continue
  3. If the request is not valid (would 404), check to see if the request path starts with "/"
  4. If it does start with "/", use the "Referer" header to find the root directory of the project
  5. Serve a 302 redirect to the root directory of the project + request path

0

Syntax highlighting

christof mrosek 4 years ago in iPad 0

Hi,

I use textastic beside other purposes also to code VHDL. Here I recognized some irritating highlighted parts of variables and also showing syntax errors.


I want ask if this unwanted features are already known and if there will be an update to correct this misbehaviour. 

0
Not a bug

App crashes

benjamin hiebler 4 years ago in iPad updated by Alexander Blach (Developer) 4 years ago 7

When i want to start the App ist crashes

0
Under review

"Failed to require the PTY package" while connecting to SFTP

Francesco 4 years ago in iPad updated by Alexander Blach (Developer) 4 years ago 1

I'm trying to connect to an SFTP server with my public key set-up, but it's not working. I keep getting:

ERROR: Failure while requesting PTY: Failed to require the PTY package

Does anyone know what PTY is? I've been looking everywhere and I don't understand this. It happens only on Textastic, not on my Ubuntu terminal (with the same exact settings).

0
Started

Adaptive cursor support from iPadOS 13.4 to make text selection easier

spikethedog 4 years ago in iPad updated by Alexander Blach (Developer) 4 years ago 1
0

Selection improvement

VILLMER 4 years ago in iPad updated 4 years ago 1

I often need to cut very large pieces of code, sometimes hundreds of lines in length. I know Textastic already has some options for selecting text areas... such as using a two-finger tap to use the dial and minimiIng the text size to view more.....

However, selecting huge code chunks is still not easy..


I suggest adding The following option to the dial...

A Start Arrow (pointing right) to begin selection at the current cursor position

..user then scrolls to new location....

User presses End Arrow (pointing left) to end selection....

Is then prompted to copy, cut etc...

here’s a rough mockup...

Image 390





0

TOC in markdown does not expand

ALFONSO REYES 4 years ago in iPad 0

Hello,

I am including in my markdown notes a `[TOC]` tag at the top but it doesn't seem to render in Textastic.

Is there a way to activate that feature in syntax definitions?

Thanks.

0
Under review

Automatic Synchronization using Textastic and GoodReader

ALFONSO REYES 4 years ago in iPad updated 4 years ago 4

I have been using Textastic for a while now for mobile coding and Markdown editor with preview.

Slowly, I am migrating my notes out of Evernote to full markdown notes.

It is mind boggling but if you look in the apps market there is no single application that is a good markdown notes manager. 
Textastic would be great if it had synchronization; I have been able to find the upload-download mode which is kind of annoying because you have to do the task manually.


I found kind of best practice so far, unless somebody else has been able to find a sync method in Textastic. It uses GoodReader, another iPad app, and the iPad local folders.

These are steps: 


1. Use GoodReader to synchronize any remote folder to your iPad. In my case I used WebDAV but I have made it work with Google Drive, Dropbox, and SFTP. GoddReadr is the app that keeps the two-way synchronization.
2. Once the connection to the server or remote is on, download the remote folder to a local iPad folder. GR will tell you that folder will be synchronized. Choose "Delete local" and "Remote file" to keep both sides fully synced.

3. Go to Textastic and add a external folder. Point to the iPad local folder that you just synced.

4. Now, you can write/preview your Markdown comfortably, including images because the images were downloaded and work as local.

5. Once your changes were made, locally or remotely, sync your folder using GoodReader.

I know, it seems like many steps, but it does what i wanted: notes synchronization, note editing, and note preview including remote images.

the only thing missing here is that Textastic doesn’t seem to have a method to insert images in Markdown files. But that is a minor pain until the app evolves a little bit further. 

Have you found another way to sync Markdown notes without paying an annual fee?


f0nzie

0
Fixed

Cursor navigation wheel unavailable since today’s update

textastic 4 years ago in iPad updated by Alexander Blach (Developer) 4 years ago 3

Hi there,

Since today’s update the navigation wheel is gone. I cannot reactivate with a two-finger tap or by any other means. Please help because the possibility to move the cursor without having a physical keyboard attacked is the main reason why I picked Textastic over simply editing my files with WorkingCopy!

0
Under review

Resizing iPad app in multitasking view does not preserve view

Nitin 4 years ago in iPad updated 4 years ago 2

When using Textastic in split view on iPadOS 13, resizing the app moves the view around even though the cursor stays in the same place. This means that the user has to manually scroll back or type something to get the cursor back in view. Please see attached GIF.


Image 388