Alternate way to open ANF, with current clipboard item used as initial file contents
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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 :)
- Lenguaje dominante
- Python
- Estrellas
- 832
- Forks
- 96
- Merge medio
- 1 min
- PR fusionados (30 d)
- 5
Preparar el entorno
Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de SublimeText/AdvancedNewFile
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
SublimeText/AdvancedNewFile#196 · 1 reacción ·
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
SublimeText/AdvancedNewFile#195 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
SublimeText/AdvancedNewFile#193 ·
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
SublimeText/AdvancedNewFile#183 · 2 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
SublimeText/AdvancedNewFile#180 ·
Todos los issues de SublimeText/AdvancedNewFile
Issues similares
-
bug status/needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
prowler-cloud/prowler#12887 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area: desktop platform: macos priority: p3 status: ready type: enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
use-agent-os/agent-os#3484 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
open-telemetry/opentelemetry-python-contrib#5113 · 2 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
external
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
langchain-ai/docs#6255 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día