当前位置:网站首页>如何在终端启动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
边栏推荐
- What are Devops
- Cglib 如何实现多重代理?
- 【转发】查看lua中userdata的方法
- If PPT is drawn like this, can the defense of work report be passed?
- Multi classification of unbalanced text using AWS sagemaker blazingtext
- 使用 Iceberg on Kubernetes 打造新一代雲原生資料湖
- Advanced Vue component pattern (3)
- Behind the first lane level navigation in the industry
- The importance of big data application is reflected in all aspects
- Custom function form of pychar shortcut key
猜你喜欢

只有1个字节的文件实际占用多少磁盘空间

每个大火的“线上狼人杀”平台,都离不开这个新功能

Word segmentation, naming subject recognition, part of speech and grammatical analysis in natural language processing

With the advent of tensorflow 2.0, can pytoch still shake the status of big brother?

Jetcache buried some of the operation, you can't accept it

文件过多时ls命令为什么会卡住?
![[C / C + + 1] clion configuration and running C language](/img/5b/ba96ff4447b150f50560e5d47cb8d1.jpg)
[C / C + + 1] clion configuration and running C language

ES6学习笔记(四):教你轻松搞懂ES6的新增语法

How to use Python 2.7 after installing anaconda3?

理解格式化原理
随机推荐
Read the advantages of Wi Fi 6 over Wi Fi 5 in 3 minutes
It's easy to operate. ThreadLocal can also be used as a cache
一篇文章带你了解CSS 分页实例
仅用六种字符来完成Hello World,你能做到吗?
一篇文章教会你使用HTML5 SVG 标签
ES6学习笔记(二):教你玩转类的继承和类的对象
Jetcache buried some of the operation, you can't accept it
Advanced Vue component pattern (3)
What are the common problems of DTU connection
[C / C + + 1] clion configuration and running C language
Details of dapr implementing distributed stateful service
Unity性能优化整理
WeihanLi.Npoi 1.11.0/1.12.0 Release Notes
【转发】查看lua中userdata的方法
Analysis of ThreadLocal principle
C#和C/C++混合编程系列5-内存管理之GC协同
electron 實現檔案下載管理器
Vue.js Mobile end left slide delete component
一篇文章带你了解CSS3 背景知识
Free patent download tutorial (HowNet, Espacenet)