0
Under review

Detection of file type by shebang line

Andrew Pearce 10 years ago updated by Alexander Blach (Developer) 10 years ago 1
I'm loving Textastic - really handy for editing files locally on my morning commute (with terrible reception) and then upload them on a decent 4G connection at the end.

I've just had one annoyance so far which is that detection of file type appears to go by the file extension only. The problem is that I commonly omit the extension for executable scripts (e.g. Python) so that the language is an implementation detail that can be changed later without needing to change anything that calls them.

It would be great if extensionless files could be detected based on Shebang line. So, if the first line of the file starts with #! and something like "python" or "ruby" occurs after it then the appropriate mode can be chosen. I suggest a loose parsing strategy like that to cope with different paths to interpreters, use of the "env" utility, etc.
0

Is there a way to "Refresh" the preview?

Sigma8 14 years ago updated by Alexander Blach (Developer) 14 years ago 2

 I just bought Textastic last week in order to make some changes to a website remotely with my iPad and was immediately impressed! 


However, right now I'm trying to use it for actual web app creation, and I'm having a problem with the Preview functionality failing to recognize changes I've made to my .css files.


My example case starts with two very simple files: an index.html with a styled (class="test") "Hello World", and a stylesheet with a single dot-style (.test), which makes the font big and red.


I make these, and everything seems to work fine when I preview. However, then I change the color to yellow (in the .css) and I preview the change in the index.html file, and the font is still red.


Confused, I upload the files to my web server, and it is indeed yellow. I try making a "styles2.css" and I copy/paste the contents of styles.css into styles2. I change the stylesheet href in index.html to styles2, and I preview that. Now it's yellow! I changes it back to styles.css (remember, styles.css and styles2.css are identical--it was just a copy/paste) and things are back to red.


So, it seems as if Preview is aggressively caching files. Is there any way to force a refresh of asset files? I'm just using local storage for both index.html and styles.css, and they are in the same folder.

0
Declined

I would love to see ruby syntax highlighting included+ Dropbox/iDisk sync

Tom Garbutt 14 years ago updated by Alexander Blach (Developer) 14 years ago 1
Perhaps the ruby syntax could include such things as haml/sass highlighting too?
Answer
See comments for details.
0

Brackets integration

Travmak 13 years ago 0
If possible dropping Brackets html/css/js editor into textastic would be awesome.

http://www.youtube.com/watch?v=xirIHMtpc4c 

0

PHP code completion

Alessandro Vannini 13 years ago updated by Alexander Blach (Developer) 13 years ago 1
I'm a new user of Textastic (amazing app!!!), and I'm experimenting with this new software to modify some php files on my personal development server. It seems that the code completion doesn't cover ALL the PHP functions, just a number are supported. For example, the foreach function doesn't seem to be supported in php autocompletion.

I'm I wrong? Is there a way to get ALL the latest PHP release's functions for autocompletion?

Thank you! :-)
0

Posting to the board in landscape mode on the ipad does not work well

Ramon Figueroa-Centeno 12 years ago updated by Alexander Blach (Developer) 12 years ago 1

Aloha,


Cannot post more than a couple of lines to this board on landscape mode (I am visually impaired and like the bigger keyboard).


Mahalo,


Ramón 

0
Under review

app is crashed when retrieving file information via FTP

joy cooket 13 years ago updated by Alexander Blach (Developer) 13 years ago 1
environment:Mac 10.7.3, FTP server is default in Mac Lion.
app is crashed when retrieving file information while trying to download lots of files.
0

Loving the app but problem with preview

Mark Richardson 11 years ago updated by Alexander Blach (Developer) 11 years ago 1
I'm really new at this and am enjoying practising what I'm learning on the iPad, but I've noticed that some css effects, for example :hover don't show up on the preview. Am I doing something wrong? The same code works fine on the PC.
0

Transfer denied

Cameron Roberson 14 years ago updated by Alexander Blach (Developer) 14 years ago 1
Continually get errors with feedback denied and can never log in via FTP, also sometimes get the error looped over and over.
0
Thanks

no more laptops or desktops for me

Oscar Nadal 13 years ago updated by Alexander Blach (Developer) 13 years ago 0
in the instant moment i see this app my mind start thinking "now i can forget my mbp" and get a new ipad