Alternate way to open ANF, with current clipboard item used as initial file contents
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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 :)
- 主要語言
- Python
- 星號
- 833
- 分支
- 96
- 平均合併
- 1 分鐘
- 30 天內合併 PR
- 5
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
SublimeText/AdvancedNewFile 的其他 Issue
-
enhancement
難度 4/5 3-5 天 新手友好度 35/100
SublimeText/AdvancedNewFile#196 · 1 個 reaction ·
-
enhancement
難度 4/5 3-5 天 新手友好度 45/100
SublimeText/AdvancedNewFile#195 ·
-
難度 3/5 1-2 天 新手友好度 35/100
SublimeText/AdvancedNewFile#193 ·
-
enhancement
難度 4/5 3-5 天 新手友好度 25/100
SublimeText/AdvancedNewFile#183 · 2 則留言 ·
-
難度 3/5 1-2 天 新手友好度 42/100
SublimeText/AdvancedNewFile#180 ·
查看 SublimeText/AdvancedNewFile 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
PedestrianDynamics/pyFDS-Evac#343 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
theskumar/python-dotenv#708 ·
-
難度 1/5 1 小時以內 新手友好度 88/100
維護者通常 2 天內回覆
-
Docs Timedelta
難度 2/5 1-3 小時 新手友好度 72/100
pandas-dev/pandas#69919 ·
維護者通常 1 天內回覆
-
API documentation
難度 2/5 1-3 小時 新手友好度 72/100
zephyrproject-rtos/west#1009 · 2 則留言 ·
維護者通常 3 天內回覆