ajaxorg / ajaxorg/ace

Align opening and closing square brackets with the same number of tabs in JSON mode

Offen
#3,000 4 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
feature-request no-autoclose p1
Vorherrschende Sprache
JavaScript
Sterne
27.1k
Forks
5.3k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In JSON mode of Ace Editor if user inputs opening square bracket (`[`) and then presses Enter, the automatically appeared closing square bracket (`]`) is transferred to the next line with default tab indent as follows:

```
[
]
```

But they should be aligned in one column this way

```
[
]
```

as it happens with curly brackets.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.