Suggestion: Custom quick panel to create file
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Start by examining the existing key binding and current bottom-bar file-creation flow, then review Sublime Text's custom quick-panel example linked in the issue. Done means the key binding opens a directory-filtering panel, Enter opens a filename panel, and a second Enter creates the file in the selected directory.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Instead of opening up a bar at the bottom to type your entire directory I imagine that a quick panel is opened up when I press the key binding. In that panel all directories are listed and you can quickly filter it down to the directory you want to place the new file in by just typing a few characters (working the same way as Command+T, except it only lists directories). When pressing Enter a new quick panel comes up where you just enter the name of the file you want to create in that directory, and then press Enter once more to create the file.
Quick panels are among the best feature of Sublime and I was surprised that this wasn't the way it worked in this plugin, I guess I just had this image built up in my head before installing it. My schedule is pretty tight atm so I'm just throwing my idea out there in case someone else has some more time on their hands 😉
An example on how to create a quick panel can be found here: https://forum.sublimetext.com/t/example-of-using-custom-quick-panels-popup-lists/10817
- 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
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus SublimeText/AdvancedNewFile
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
SublimeText/AdvancedNewFile#196 · 1 Reaktion ·
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
SublimeText/AdvancedNewFile#195 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
SublimeText/AdvancedNewFile#193 ·
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
SublimeText/AdvancedNewFile#183 · 2 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 42/100
SublimeText/AdvancedNewFile#180 ·
Alle Issues in SublimeText/AdvancedNewFile
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
PedestrianDynamics/pyFDS-Evac#343 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
theskumar/python-dotenv#708 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Docs Timedelta
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
pandas-dev/pandas#69919 ·
Maintainer antworten meist innerhalb von 1 Tag
-
API documentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
zephyrproject-rtos/west#1009 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 3 Tagen