当前位置:网站首页>如何在终端启动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方法的回撥分析
- 零基础打造一款属于自己的网页搜索引擎
- 大道至简 html + js 实现最朴实的小游戏俄罗斯方块
- Custom function form of pychar shortcut key
- Electron application uses electronic builder and electronic updater to realize automatic update
- vue-codemirror基本用法:实现搜索功能、代码折叠功能、获取编辑器值及时验证
- 前端工程师需要懂的前端面试题(c s s方面)总结(二)
- hdu3974 Assign the task線段樹 dfs序
- Analysis of query intention recognition
- Python Jieba segmentation (stuttering segmentation), extracting words, loading words, modifying word frequency, defining thesaurus
猜你喜欢

Mac installation hanlp, and win installation and use

FastThreadLocal 是什么鬼?吊打 ThreadLocal 的存在!!

Who says cat can't do link tracking? Stand up for me

【字节跳动 秋招岗位开放啦】Ohayoo!放学别走,我想约你做游戏!!!

Pattern matching: The gestalt approach一种序列的文本相似度方法

Windows 10 tensorflow (2) regression analysis of principles, deep learning framework (gradient descent method to solve regression parameters)

消息队列(MessageQueue)-分析

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

Using NLP and ml to extract and construct web data

有了这个神器,快速告别垃圾短信邮件
随机推荐
(1) ASP.NET Introduction to core3.1 Ocelot
一篇文章教会你使用Python网络爬虫下载酷狗音乐
Python基础数据类型——tuple浅析
axios学习笔记(二):轻松弄懂XHR的使用及如何封装简易axios
Behind the first lane level navigation in the industry
Custom function form of pychar shortcut key
Lane change detection
理解格式化原理
C語言I部落格作業03
华为云微认证考试简介
Installing ns-3 on ubuntu18.04
The dynamic thread pool in Kitty supports Nacos and Apollo multi configuration centers
Individual annual work summary and 2019 work plan (Internet)
What are the common problems of DTU connection
Vue.js Mobile end left slide delete component
Python saves the list data
给字节的学姐讲如何准备“系统设计面试”
Interpretation of Cocos creator source code: engine start and main loop
How to use parameters in ES6
A course on word embedding