在 Sublime 中输入参数有两种方法:通过命令行参数打开终端窗口,运行命令 subl text.txt -a txt。通过项目设置,在 "Settings - User" 文件中添加 JSON 代码:{ "cmd_line_args": ["-a", "txt", "text.txt"] }。
Sublime 中输入参数的方法
在 Sublime 中输入参数主要有两种方法:
一、通过命令行参数
subl text.txt -a txt
二、通过项目设置
{ "cmd_line_args": ["-a", "txt", "text.txt"] }
注意:
subl file1.txt -a type1 file2.txt -a type2
{ "cmd_line_args": ["-a", "custom_type1", "custom_file1.txt"], "project_settings": { "file1.txt": { "cmd_line_args": ["-a", "custom_type2"] } } }
以上就是sublime怎么输入参数的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号