+2

Built-in Javascript tmLanguage

Maurice Zoliker 5 years ago in General updated 5 years ago 2

Dear Alexander,

I really need the built-in "JavaScript.tmLanguage" you are using, in order to know the exact scopes names (to use them in my custom tmTheme) and be able to tweak it a bit if needed.

Would it be possible to share it?

Right now I am using the "JavaScriptNext.tmLanguage" but it is quite old and full of little bugs, whereas your built-in tmLanguage seems to be much more stable and recent.

Thanks a lot and keep improving Textastic, it is a pleasure to use it every day.

Kind regards,

Maurice

Answer

To show the scope at the cursor location, you can use the keyboard shortcut Ctrl-Shift-P (this can be changed in Textastic's settings -> Keyboard Shortcuts -> Code Editor -> Show Scope).

Here is the sublime syntax file used by Textastic:

JavaScript.sublime-syntax

+2

Preview Port

anonymous 7 years ago in General updated by Craig Morey 6 years ago 2

Does the localhost server for the html preview in Safari always use the same port?  This is required by the same origin policy if a website stores data in local storage, indexeddb, cache storage, etc. and wants to retrieve it later.  I noticed that Working Copy uses a different port with each preview, making testing javascript single page apps that utilize data storage impossible and was wondering if Textastic had a way to always use the same port when previewing html/js.

+2
Under review

Stop auto-adding period when double-spacing

david allie 8 years ago in General updated by ajcullum 6 years ago 5

Aside from using Textastic for coding, I like to use it for keeping .txt files for simple notes. I’ve noticed that whenever I (on purpose) enter two or more spaces (e.g. to create a simple column table), a period is auto-added in the the first position of two spaces. This is annoying... seems more appropriate to a word processor than a code/text editor... and I wish there was a setting/preference to allow me to enable/disable this action.

+2

Editing files in iCloud drive

bill obermeyer 8 years ago in General updated by Ara Adkins 8 years ago 5

Have I missed it, or is there no way to edit files on iCloud Drive (except in the Textastic folder)? so much on Macs is now stored/mirrored in iCloud it would be very helpful to edit them in place. 

+2

Move cursor/viewport with external keyboard

Craig 9 years ago in General 0

It would be good if Textastic supported moving the text viewport up and down via the external keyboard, in effect moving the line with the cursor up and down the screen. I feel it's pretty common to do with when working with text, and it's very annoying to not be able to do it.


+2

Recents or Favorites in File Transfer view

waynewongrj 9 years ago in General 0

The recent files list is great, and I use it all the time. It would also be great if there was a similar feature—recents or favorites—in the File Transfer view, for quickly going to oftenused local & remote folders.

+2

Please make deleting files safer

madvoid 9 years ago in General 0

Hi, just got the app and I'm loving it so far. However, I'm a little concerned how easy it is to delete files. It would be nice if there were a confirmation box or a trash folder in case of accidental deletion

+2
Under review

Jinja/yaml syntax highlighting for dealing with SaltStack files.

alek 9 years ago in General updated by Hans Gerwitz 5 years ago 3
+2

Mark and delete a range of lines

farlowella 10 years ago in General 0

Need to mark a range in hugh text files to delete it. Should something like in vi: "<start>,<end>d". Maybe more comfortable ;

+2

Upgrade v5 to v6

Ben van der Beek 10 years ago in General updated by Miha2048 10 years ago 3

App offers an upgrade from v5 to v6 now. But no "upgrade" price, it is the full price for the app again. No upgrade price policy for your devoted users