当前位置:网站首页>如何在终端启动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
边栏推荐
- Using NLP and ml to extract and construct web data
- Unity性能优化整理
- StickEngine-架构12-通信协议
- 理解格式化原理
- Brief introduction and advantages and disadvantages of deepwalk model
- Jmeter——ForEach Controller&Loop Controller
- TensorFlow中的Tensor是什么?
- It's easy to operate. ThreadLocal can also be used as a cache
- use Asponse.Words Working with word templates
- WeihanLi.Npoi 1.11.0/1.12.0 Release Notes
猜你喜欢
Construction of encoder decoder model with keras LSTM
仅用六种字符来完成Hello World,你能做到吗?
MeterSphere开发者手册
Mongodb (from 0 to 1), 11 days mongodb primary to intermediate advanced secret
What are Devops
Custom function form of pychar shortcut key
The difference between gbdt and XGB, and the mathematical derivation of gradient descent method and Newton method
每个大火的“线上狼人杀”平台,都离不开这个新功能
Even liver three all night, jvm77 high frequency interview questions detailed analysis, this?
The AI method put forward by China has more and more influence. Tianda et al. Mined the development law of AI from a large number of literatures
随机推荐
視覺滾動[反差美]
给字节的学姐讲如何准备“系统设计面试”
小游戏云开发入门
It's time for your financial report to change to a more advanced style -- financial analysis cockpit
Using NLP and ml to extract and construct web data
Our best practices for writing react components
Solve the problem of database insert data garbled in PL / SQL developer
一篇文章教会你使用Python网络爬虫下载酷狗音乐
Mac installation hanlp, and win installation and use
What if the front end doesn't use spa? - Hacker News
【自学unity2d传奇游戏开发】如何让角色动起来
What are PLC Analog input and digital input
How to use parameters in ES6
vue任意关系组件通信与跨组件监听状态 vue-communication
How to demote domain controllers and later in Windows Server 2012
How to hide part of barcode text in barcode generation software
01. SSH Remote terminal and websocket of go language
Read the advantages of Wi Fi 6 over Wi Fi 5 in 3 minutes
Introduction to X Window System
一篇文章带你了解CSS3 背景知识