+645
Completed

Automatically balance brace and brackets

Matthew Cheok 13 years ago updated by Alexander Blach (Developer) 4 years ago 25 4 duplicates
Highlight unbalanced braces and brackets or automatically insert and indent closing brace or bracket.

Answer

Answer
Completed

Textastic 9.3 has the new setting “Close Brackets and Quotes”: Automatically inserts a matching closing character when typing an opening bracket or quote. 


This works for the following character pairs: "", '', (), [], {}.

Duplicates 4
+27
Alternatively, a way to highlight the matching brace when one of the pair is selected
+4
Yeah, do that! It's much better. It will be like Xcode.
+3
Seconded! Highlighting brace pairs would also be a great feature.

On top of that, being able to collapse a brace-bounded region (or #region...#endregion tags in C#) would be nice, since we're on the subject :) May need to be a separate feature request.
+4
Looks like there's enough that can be done in the next few years :)

I'm currently considering writing a new, advanced syntax highlighter that would allow me to do stuff like that.
+6
That would be great!  I just bought Textastic to use with Scheme, which is a language *full* of parentheses.  Paren match highlighting is the only thing I've found missing in Textastic so far.
+2
This would be cool 8)
+3
Language-specific code format clean-up would be a fantastic feature. Curly-brace languages could line up brace pairs, HTML tags could get lined up, and code between the braces/tags could get indented to the same level.
+2
I use #region/#endregion extensively when working in C#. It'd be great to fold these at will, or even have a way of quickly navigating to #region labels.
+1
Oui, des touches additionnelles enveloppantes pour écrire du Markdown…

Bref, pouvoir sélectionner un mot puis cliquer sur la touche additionnelle et entourner ce mot en une seule opération… Comme *mot* !

Du coup ajouter aussi ** 

Nb : Daedalus touch fait cela superbement bien…

+1

I would lova a feature that would automatically balance brackets. Pair highlighting sounds like a great feature too but for my purposes bracket completion would be incredibly helpful!!

+1

The highlight would be sufficient most of the time, but I also like the automation.

querro tizador do radio
-1
This should be easy enough to add, and ease the input process, which is always difficult in mobile. 

It'd be cool to auto-close / highlight HTML tags as well.

Absolutely necessary feature, one that I miss a lot particularly when I write code in any language of the lisp family. It is hard to keep track of closing parenthesis just by visually counting them

+1

I already have this feature in the Mac version of Textastic and plan to also add it to the iOS version.

+2

Alexander, really if you already have the feature on Mac, it would be very important to add that feature. It really makes a difference when writing code. Could you please add it this year?

+5

Any news on this being implemented? I downloaded the app yesterday and that’s the main thing that’s missing for me.  

+3

Alex, would be ideal after two years of counting in the desktop version with the automatic closure of brackets, also have it in IOS, please the application is very close to being perfect. Thank you.

+6

This app is really super great, BUT! Auto completion would make this so much better.

+3

Any movement on this? I thought I was crazy when I couldn't get brackets to auto-close on a css file, lol. What's the plan Alexander? Major quality of life issue here...  Loving the rest of the app so far. ^_^ Please update so we at least know if it's in the works. Thx!

+1

I just can’t believe that such a basic function still does not work in this application. Everything else is great, but for some reason auto closing brackets is not in the iOS version

Answer
Completed

Textastic 9.3 has the new setting “Close Brackets and Quotes”: Automatically inserts a matching closing character when typing an opening bracket or quote. 


This works for the following character pairs: "", '', (), [], {}.