Comments (1)
虽然说短语功能只是RunAny的其中一个功能,但是作为程序员我也是有常用代码片段管理和输出的需求
主要难点考虑在于保存和编辑:
- 保存由于代码段落过多篇幅很长,是不适合保存在RunAny.ini的一堆程序列表里面的
- 编辑代码的话,代码高亮的需求肯定是很想要的
目前界面编辑上是有很多可以改进的部分,后续是会慢慢优化的
不过我自己现在的解决方案是:使用插件读取代码片段文件的方式来输出,这样平时改代码也是方便的
huiZz_Text.ahk插件中有text_file_content这个函数
[复制或输出文件文本的内容]
参数说明:getZz:选中的文件 或 传递文件路径(可使用无路径)
isSend:0-显示并保存到剪贴板;1-输出结果
encoding:使用不同编码读取文件
这样就可以直接把文本的内容以UTF-8复制到剪贴板
文件名|huiZz_Text[text_file_content](代码文件路径,0,utf-8)
还可以用热字段串形式,直接把代码输出到编辑器里,非常高效(文件如果重名不多可以用下面的无路径写法)
文件名:*X:热字段串|huiZz_Text[text_file_content](%"文件名.py"%,1,utf-8)
from runany.
Related Issues (20)
- 请问能实现实时文件夹吗 HOT 1
- 一键直达能否支持 OneCommander? HOT 2
- 为什么添加的office软件不能生效,我的是office2019 HOT 3
- 第三方资源管理器的支持
- 使用 ahk v2 版本重构 HOT 1
- English translation
- 编辑界面显示问题 HOT 3
- 是否可以实现用鼠标中键唤醒菜单的时候,只在桌面才能唤醒?这样就不会和其他软件冲突了
- 请问一键直达函数应该怎么写 HOT 1
- 反馈两个问题
- 希望能增加连续触发的方法 HOT 1
- directory opus 里无法快捷打开文件 HOT 2
- 便携版的 xyplorer 如何使用打开对话框快速定位功能 HOT 1
- 给程序设置独立全局热键后,当打开多个相同程序时,每次使用快捷键都是激活先打开的那个程序,希望可以打开最后激活的那个程序
- 打不打算迁移到AHK2.0? HOT 2
- Input无法输入到微信聊天框中 HOT 2
- 内部关联的程序在指定进程弹出菜单启动文件失效
- 很棒的软件
- runany5.8.2无法在vscode中激活 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runany.