+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
Under review

One file two views?

Sasmito Adibowo 5 years ago in iPad updated by Alexander Blach (Developer) 4 years ago 2

How to open the same file in two different views?

I have a long-ish file that I’d like to edit simultaneously in two different editors. Each editor would be looking at different parts of the file.

Every time I “open in new window” of the file, the current editor closes and being replaced by a new one.

+2
Under review

Selection improvement

VILLMER 5 years ago in iPad updated by Freemen Muaddib 8 months ago 5

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





+2
Under review

hide unnecessary ui component

Dang H. 5 years ago in iPad updated by Graham 4 years ago 3

hello,

I would love to have an option to hide these components as it get in the way and wasting my screen real estate:

- system status bar

- system home bar (ios 13)

- textastic toolbar

Also a shortcut to open the file panel and focus to the search field would be very useful. I don’t think there’s a way to do it currently.

+2

More dark themes (Onedark, Tomorrow Night, Dracula)

Frog 5 years ago updated 5 years ago 2

Can you add more dark themes for Onedark or Tomorrow Night or Dracula?

Users who used Atom or VSCode are familiar, and I think it will be easier to transfer.


Thank you for providing a good editor!

I will continue to use it.


(Translated)

+2

Keyboard usable in other programs

Freykin 5 years ago in iPhone 0

Hi there, I’d love to use the keyboard in other apps in addition to Textastic. Is this currently possible? If not, I’d happily pay for it as a separate app.

+2
Completed

Quick access to opened tabs on external keyboard

ShadeHunter 6 years ago in iPad updated by Alexander Blach (Developer) 6 years ago 1
It would be amazing, if we could simply switch between opened tabs using keyboard shortcuts. For example CMD+1 would be first opened tab, CMD+2 second, and so on. Currenlty those shortcuts are not used for anything and this would be a perfect usage for them. 

The currenlty used shortcut for switching tabs (CTRL+TAB) is not so handy, you have to move the left hand to press it and if you have more tabs you have to press it multiple times. "CMD + 1-9" would be much more convenient.

Thank you for your great work :) 
+2

Add built-in support for Ledger (ledger-cli)

fernandotcl 6 years ago 0

Not the most common format out there, but it's well supported by TextMate through a tmbundle (which works in Textastic btw):

https://github.com/lifepillar/Ledger.tmbundle


If this could be built into TextMate (for technical and legal reasons), that sounds like potentially an easy win.

+2

Preview Port

anonymous 6 years ago in General updated by Craig Morey 5 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

How i can get rails snippet in Textastic

Jean Carlo Schechnner 7 years ago in iPad 0

I wanna have snippets like TextMate, it’s possible