Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Opening new curly braces in schema should place cursor in new, middle line, ready for content

Aperta
#680 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript

Direzione di ricerca

Inizia individuando nel repository la gestione del completamento automatico di TypeScript o del language server per l’apertura delle parentesi graffe. Riproduci l’attuale posizione del cursore, quindi verifica che le parentesi graffe generate contengano una riga centrale indentata con il cursore pronto per l’inserimento del contenuto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem? Please describe.
When writing the schema for a section and adding a new opening curly brace, I’m noticing that autocomplete will correctly add the closing curly brace, but my cursor lands right before that closing brace, and the closing brace is on a new line directly below the opening brace. That makes it necessary for me to move the cursor to after the opening brace, add a new line, and indent. That gets really cumbersome and annoying to deal with every time I open new braces.

Describe the solution you'd like
It would be way more convenient and a time saver for autocomplete to add a new line in between both braces, with the cursor indented according to my indent settings (which for me is a tab). I figure this could be default behavior, with an option to disable.

Describe alternatives you've considered
The only alternative I've considered is using keybindings - but that's not the most ideal alternative as it still requires additional interaction from me as opposed to autocomplete placing the cursor directly where it needs to be.

Lingua principale
TypeScript
Stelle
236
Fork
100
Merge medio
1g 18h
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Shopify/theme-tools

Tutte le issue di Shopify/theme-tools

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.