当前位置:网站首页>如何在终端启动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
边栏推荐
- JNI-Thread中start方法的呼叫與run方法的回撥分析
- It's easy to operate. ThreadLocal can also be used as a cache
- Shh! Is this really good for asynchronous events?
- Introduction to X Window System
- 快速排序为什么这么快?
- The importance of big data application is reflected in all aspects
- Analysis of query intention recognition
- [C] (original) step by step teach you to customize the control element - 04, ProgressBar (progress bar)
- C語言I部落格作業03
- ES6学习笔记(二):教你玩转类的继承和类的对象
猜你喜欢

一篇文章带你了解CSS 渐变知识

Wow, elasticsearch multi field weight sorting can play like this

新建一个空文件占用多少磁盘空间?

What are PLC Analog input and digital input

A course on word embedding

理解格式化原理

Music generation through deep neural network

Shh! Is this really good for asynchronous events?

It's time for your financial report to change to a more advanced style -- financial analysis cockpit

Python基础变量类型——List浅析
随机推荐
Network security engineer Demo: the original * * is to get your computer administrator rights! [maintain]
一篇文章教会你使用HTML5 SVG 标签
It's time for your financial report to change to a more advanced style -- financial analysis cockpit
A brief history of neural networks
Cglib 如何实现多重代理?
百万年薪,国内工作6年的前辈想和你分享这四点
有了这个神器,快速告别垃圾短信邮件
一篇文章带你了解CSS 渐变知识
Interpretation of Cocos creator source code: engine start and main loop
Who says cat can't do link tracking? Stand up for me
A course on word embedding
大道至简 html + js 实现最朴实的小游戏俄罗斯方块
给字节的学姐讲如何准备“系统设计面试”
Brief introduction of TF flags
Vue.js Mobile end left slide delete component
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
Electron application uses electronic builder and electronic updater to realize automatic update
keras model.compile Loss function and optimizer
StickEngine-架构11-消息队列(MessageQueue)
Wow, elasticsearch multi field weight sorting can play like this