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

Rename deletes Untitled

Aperta
#135 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

Start by comparing the ANF: Rename and ANF: Copy entry points, then review the proposed CreateSavePrompt integration and Package Settings option. The work is done when a selected behavior prevents an untitled tab from being deleted during save or rename.

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

Descrizione

bug

Twice I've accidentally deleted an untitled tab by trying to save it via ANF: Rename (ANF: Copy works, though you end up with an extra tab). I think I've learned my lesson, but two possible enhancements that might remediate the over-eager, lazy-saver:

  • Override the system "Save" dialog and Make ANF the default. This functionality already exists in the plugin CreateSavePrompt (MIT License). Probably best if it's an advanced option exposed in Package Settings. The whole reason I shoot my foot is because ANF is better than the system dialog.
  • The more obvious option is to change the behavior of Rename to "Move" an untitled file to its new location via ANF.

Thanks for considering. I'll try to save before I type.

Lingua principale
Python
Stelle
833
Fork
96
Merge medio
1m
PR unite (30g)
5

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 SublimeText/AdvancedNewFile

Tutte le issue di SublimeText/AdvancedNewFile

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.