Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Alternate way to open ANF, with current clipboard item used as initial file contents

Offen
#121 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
desktop, tooling

Rechercherichtung

Start at the requested open_advanced_new_file_use_clip_as_initial_contents command and the existing ANF dialog flow. Verify how the current clipboard text can be retained while the path is edited, then confirm that creating the file opens the ANF dialog as usual and inserts the previously captured clipboard contents.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

ANF is one of my primary plugins (Windows ST3), but only after I started using Clipboard Manager (CM) with it. I find myself more often than not, having the initial contents for the file in the clipboard. But this conflicts with the fact that I most often create the path by copying it from an existing folder (either in the sidebar or externally), and then tailor it in the ANF dialog. Because of this conflict, before CM, I ended up not using AdvancedNewFile at all.

Now with CM, I have the initial contents in the clipboard, I copy the folder path, paste it into the ANF dialog, tailor it, then

"Package Control > Clipboard Manager: Choose and Paste > down arrow for item 2 (the 1st is the path), enter".

Not great, but much smoother!

I wish ANF had an optional feature that would make this even better. It's the ONLY reason I use CM to begin with. Specifically, I'm thinking a new command called something like "open_advanced_new_file_use_clip_as_initial_contents". I would call this with an alternative key command (likely ctrl+shift+N--I call ANF normally with ctrl+n, and the original File>New with ctrl+alt+n).

It would copy the current clipboard text into this special initial-file-contents-buffer, and then open the ANF dialog as usual. I would then copy and then tailor the path and hit enter. The file is created as normal, but, in this case the contents of that buffer (the text previously in the clipboard) would be immediately pasted into the new file.

I hope I've been clear. This would dramatically increase ANF's usage, and it's already really useful!

Thanks for listening :)

Vorherrschende Sprache
Python
Sterne
833
Forks
96
Ø Merge
1 Min.
Gemergte PRs (30 T.)
5

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus SublimeText/AdvancedNewFile

Alle Issues in SublimeText/AdvancedNewFile

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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