当前位置:网站首页>How to start the hidden preferences in coda 2 on the terminal?
How to start the hidden preferences in coda 2 on the terminal?
2020-11-06 21:19:00 【Mac dingdong】
Coda2 for Mac Is a text editor , Code folding Automatic completion of project scope . Quickly find and replace . Indentation guide Auto tag off . Quick comments and code transfers . Sometimes , We have a situation , That's to add hidden preferences . Hidden preferences enable us to implement important settings for a small but important minority of users who need them , At the same time, make other people's UI Less complexity .
One of the main problems with hiding preferences is : They're hidden . You won't find them on your own , Until now, , It hasn't been recorded anywhere yet .
To set any of the following preferences , Please start your favorite terminal application ( Or just in “ Applications ” Of “ Utilities ” In folder terminal Applications ), Paste one of the commands listed below , Then press Return key .
like this :
My-iMac:~ panic_user$ defaults write com.panic.Coda2 SingleLineComments YES
My-iMac:~ panic_user$ █
Enable / Disable features
defaults write com.panic.Coda2 KnightRider -bool True
Regardless of the system appearance settings , Always use dark mode . Be careful : This needs to be macOS 10.14(Mojave) Or later .
defaults write com.panic.Coda2 SingleLineComments YES
Always use single line comments ( Use a language that supports single line and multi line annotations ).
defaults write com.panic.Coda2 RenderTabThumbnails -bool False
prevent Coda Try to generate a thumbnail of the document you are currently working on for use in the tab bar .( If your page uses plug-ins or heavy scripting or auto play media , It will be useful .)
defaults delete com.panic.Coda2 dont.ask.again.result.publishConfirmation
When publishing the website , Please bring back the confirmation form ( If you have previously hidden it ).
defaults write com.panic.Coda2 StringLengthToStopHighlightingAndWrapping -int 300000
Coda Automatically disable syntax highlighting and word wrapping for large documents . You can change the threshold here , Set in characters .( The default value is 1224000
.)
defaults write com.panic.Coda2 EditorLineHeight X
Adjust editor line height . Put... In the order above X Change to greater than 0 Any number of , Including decimals ( for example “ 2.5”). You need to use this value to find the desired setting . Start with something smaller , for example 2 or 3, Then add as needed .
Override operating system defaults
defaults write com.panic.Coda2 UseGlobalFindPasteboard NO
Exit system wide find pasteboard sharing . If you don't want “ lookup ” The operation appears in Coda Of “ lookup / Replace ” In the banner , Please use this option .
defaults write com.panic.Coda2 AppleLanguages "('en-US')"
Set in the Coda The language used in , At the same time, keep the system language unchanged .
Additional logs for debugging
That's the answer for you today “ How to start at the terminal Coda 2 Preferences hidden in ” I hope it will be of some help to you .
defaults write com.panic.Coda2 SiteIndexLoggingLevel -int 3
Write other log records to the console , In pairs Coda The website index for troubleshooting .
defaults write com.panic.Coda2 UseVerboseLogging 1
Write other log records to the console , To troubleshoot remote server connections .
defaults write com.panic.Coda2 DebugLogging -bool YES
Write other log records to the console to solve Panic Sync problem
版权声明
本文为[Mac dingdong]所创,转载请带上原文链接,感谢
边栏推荐
- Metersphere developer's Manual
- Stickinengine architecture 11 message queue
- Road to simple HTML + JS to achieve the most simple game Tetris
- 迅为-iMX6ULL开发板上配置AP热点
- Flink's datasource Trilogy 2: built in connector
- 行为型模式之备忘录模式
- Bitcoin once exceeded 14000 US dollars and is about to face the test of the US election
- ado.net和asp.net的关系
- Junit测试出现 empty test suite
- Open source a set of minimalist front and rear end separation project scaffold
猜你喜欢
An article will take you to understand SVG gradient knowledge
How to make characters move
2020-08-24:什么是小文件?很多小文件会有什么问题?很多小文件怎么解决?(大数据)
【涂鸦物联网足迹】涂鸦云平台全景介绍
事务的本质和死锁的原理
An article will introduce you to CSS3 background knowledge
What grammar is it? ]
Vue communication and cross component listening state Vue communication
An article will take you to understand CSS alignment
Zero basis to build a web search engine of its own
随机推荐
如何在终端启动Coda 2中隐藏的首选项?
With this artifact, quickly say goodbye to spam messages
What is the tensor in tensorflow?
Elasticsearch Part 6: aggregate statistical query
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:曾文旌
Why is quicksort so fast?
To teach you to easily understand the basic usage of Vue codemirror: mainly to achieve code editing, verification prompt, code formatting
Novice guidance and event management system in game development
【涂鸦物联网足迹】涂鸦云平台全景介绍
An article will take you to understand CSS alignment
Basic usage of Vue codemirror: search function, code folding function, get editor value and verify in time
Diamond standard
Axios learning notes (2): easy to understand the use of XHR and how to package simple Axios
ORA-02292: 违反完整约束条件 (MIDBJDEV2.SYS_C0020757) - 已找到子记录
C language I blog assignment 03
Application insights application insights use application maps to build request link views
How does filecoin's economic model and future value support the price of fil currency breaking through thousands
Some operations kept in mind by the front end foundation GitHub warehouse management
Introduction to Huawei cloud micro certification examination
2020年第四届中国 BIM (数字建造)经理高峰论坛即将在杭举办