当前位置:网站首页>如何在终端启动Coda 2中隐藏的首选项?
如何在终端启动Coda 2中隐藏的首选项?
2020-11-06 21:19:00 【mac小叮当】
Coda2 for Mac是一个文本编辑器,代码折叠 项目范围的自动完成。快速找到并替换。压痕指南 自动标签关闭。快速评论和转移代码。有时,我们会遇到一种情况,那就是添加隐藏的首选项。隐藏的首选项使我们能够为需要它们的少数但重要的少数用户实现重要的设置,同时使其他人的UI复杂度降低。
隐藏偏好的一个主要问题是:它们是隐藏的。您不会自己发现它们的,直到现在,还没有任何地方对其进行记录。
要设置以下任何首选项,请启动您喜欢的终端应用程序(或仅在“应用程序”的“实用工具”文件夹中的终端应用程序),粘贴下面列出的命令之一,然后按Return键。
像这样:
My-iMac:~ panic_user$ defaults write com.panic.Coda2 SingleLineComments YES
My-iMac:~ panic_user$ █
启用/禁用功能
defaults write com.panic.Coda2 KnightRider -bool True
无论系统外观设置如何,始终使用暗模式。注意:这需要macOS 10.14(Mojave)或更高版本。
defaults write com.panic.Coda2 SingleLineComments YES
始终使用单行注释(使用支持单行和多行注释的语言)。
defaults write com.panic.Coda2 RenderTabThumbnails -bool False
防止Coda尝试生成当前正在处理的文档的缩略图以在选项卡栏中使用。(如果您的页面使用插件或繁重的脚本编写或自动播放媒体,这将很有用。)
defaults delete com.panic.Coda2 dont.ask.again.result.publishConfirmation
发布网站时,请带回确认单(如果您之前已将其隐藏)。
defaults write com.panic.Coda2 StringLengthToStopHighlightingAndWrapping -int 300000
Coda自动为较大的文档禁用语法突出显示和自动换行。您可以在此处更改阈值,以字符数设置。(默认值为1224000
。)
defaults write com.panic.Coda2 EditorLineHeight X
调整编辑器行高。将上面命令中的X更改为大于0的任何数字,包括小数(例如“ 2.5”)。您需要使用该值来找到所需的设置。从较小的东西开始,例如2或3,然后根据需要增加。
覆盖操作系统默认值
defaults write com.panic.Coda2 UseGlobalFindPasteboard NO
退出系统范围的查找粘贴板共享。如果您不希望其他应用程序中的“查找”操作出现在Coda的“查找/替换”横幅中,请使用此选项。
defaults write com.panic.Coda2 AppleLanguages "('en-US')"
设置在Coda中使用的语言,同时保持系统语言不变。
用于调试的额外日志
以上就是今天为大家解答的“如何在终端启动Coda 2中隐藏的首选项”希望对您有所帮助。
defaults write com.panic.Coda2 SiteIndexLoggingLevel -int 3
将其他日志记录写入控制台,以对Coda的网站索引进行故障排除。
defaults write com.panic.Coda2 UseVerboseLogging 1
将其他日志记录写入控制台,以对远程服务器连接进行故障排除。
defaults write com.panic.Coda2 DebugLogging -bool YES
将其他日志记录写入控制台以解决Panic Sync问题
版权声明
本文为[mac小叮当]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/4436877/blog/4706576
边栏推荐
- Natural language processing - BM25 commonly used in search
- FastThreadLocal 是什么鬼?吊打 ThreadLocal 的存在!!
- Analysis of etcd core mechanism
- Basic principle and application of iptables
- 【转发】查看lua中userdata的方法
- C#和C/C++混合编程系列5-内存管理之GC协同
- Free patent download tutorial (HowNet, Espacenet)
- Introduction to X Window System
- Five vuex plug-ins for your next vuejs project
- Elasticsearch数据库 | Elasticsearch-7.5.0应用搭建实战
猜你喜欢
Behind the first lane level navigation in the industry
Mongodb (from 0 to 1), 11 days mongodb primary to intermediate advanced secret
事件监听问题
Free patent download tutorial (HowNet, Espacenet)
一部完整的游戏,需要制作哪些音乐?
Named entity recognition in natural language processing: tanford core LP ner (1)
百万年薪,国内工作6年的前辈想和你分享这四点
From zero learning artificial intelligence, open the road of career planning!
If PPT is drawn like this, can the defense of work report be passed?
StickEngine-架构12-通信协议
随机推荐
Discussion on the technical scheme of text de duplication (1)
前端基础牢记的一些操作-Github仓库管理
Python基础变量类型——List浅析
Even liver three all night, jvm77 high frequency interview questions detailed analysis, this?
Custom function form of pychar shortcut key
Construction of encoder decoder model with keras LSTM
Windows 10 tensorflow (2) regression analysis of principles, deep learning framework (gradient descent method to solve regression parameters)
Pollard's Rho algorithm
Network programming NiO: Bio and NiO
Basic principle and application of iptables
Live broadcast preview | micro service architecture Learning Series live broadcast phase 3
Network security engineer Demo: the original * * is to get your computer administrator rights! [maintain]
Advanced Vue component pattern (3)
Introduction to Google software testing
Introduction to the structure of PDF417 bar code system
Vue.js Mobile end left slide delete component
Solve the problem of database insert data garbled in PL / SQL developer
Introduction to quantitative investment and Trading (Python introduction to financial analysis)
事件监听问题
零基础打造一款属于自己的网页搜索引擎