
自定義異常禁用異常堆棧

Sometimes, autocorrect gets it wrong, replacing a word you meant to type with something completely different. You can customize it to fix these issues or disable it altogether.
有時候,自動更正會把它弄錯,用完全不同的詞替換您要輸入的詞。 您可以自定義它以解決這些問題或完全禁用它。
如何訪問自動更正設置 (How to Access Autocorrect Settings)
Autocorrect works its magic by pulling from a built-in dictionary that provides automatic text correction. Over time, you can teach the system new words,?either by using the “Add to Dictionary” command on the fly as you type new words or by popping open your keyboard settings and adding them manually. Here, we’re going to talk about that manual method.
自動更正通過從提供自動文本更正的內置字典中提取來發揮其魔力。 隨著時間的流逝,您可以通過在輸入新單詞時即時使用“添加到字典”命令或彈出鍵盤設置并手動添加它們來教系統新單詞。 在這里,我們將討論該手動方法。
Start by firing up System Preferences > Keyboard.
首先啟動系統偏好設置>鍵盤。

On the Keyboard page, switch over to the “Text” tab.?If you want to disable autocorrect completely, turn off the “Correct Spelling Automatically” checkbox.
在“鍵盤”頁面上,切換到“文本”選項卡。 如果要完全禁用自動更正,請關閉“自動更正拼寫”復選框。
To add a new replacement to the list, click the “Add” button (the plus sign), and then type the text you want to replace and the text you want to use instead. You can also select an existing entry and hit the “Remove” button (the minus sign) to delete the entry.
要將新的替換項添加到列表中,請單擊“添加”按鈕(加號),然后鍵入要替換的文本和要使用的替代文本。 您也可以選擇一個現有條目,然后單擊“刪除”按鈕(減號)以刪除該條目。

The Text tab also lets you select a few other options, such as choosing whether your Mac capitalizes words automatically or adds a period when you double space. You can also set your native language and specify whether you want your Mac to create smart quotes and dashes as you type. Your Mac syncs these settings over iCloud to your iPhone, iPad, and other Macs, so changing them here also fixes them on your other devices.
文本選項卡還允許您選擇其他一些選項,例如選擇Mac自動將單詞大寫還是在加倍空格時添加句點。 您還可以設置您的母語,并指定是否要讓Mac在鍵入時創建智能引號和破折號。 您的Mac將這些設置通過iCloud同步到iPhone,iPad和其他Mac,因此在此處進行更改也可以在其他設備上進行修復。
在特定應用中關閉自動更正 (Turn Off Autocorrect In Specific Apps)

You might want to disable autocorrect in one problem application, but not everywhere. To do this, head to Edit > Spelling and Grammar. Turn off “Check Spelling While Typing” to disable the red underlines and turn off “Correct Spelling Automatically” to disable automatic replacement.
您可能要在一個有問題的應用程序中禁用自動更正功能,但并非在所有應用程序中都禁用。 為此,請轉到“編輯”>“拼寫和語法”。 關閉“鍵入時檢查拼寫”以禁用紅色下劃線,并關閉“自動糾正拼寫”以禁用自動替換。
使用文字替換 (Using Text Replacements)

Any text replacements you create override the built-in rules your Mac follows. You can use them to create text shortcuts (like replacing “eml” with your?email address) and save yourself some time. If you type the abbreviation, then hit Tab or Space, it’ll expand out to the full replacement text.
您創建的任何文本替換都將覆蓋Mac遵循的內置規則。 您可以使用它們來創建文本快捷方式(例如用電子郵件地址替換“ eml”)并節省一些時間。 如果鍵入縮寫,然后按Tab鍵或Space鍵,它將展開為完整的替換文本。
One handy trick is setting a word to replace itself. If your Mac or iPhone doesn’t let you type a particular word (like a swear word, for example), you can add the full word as both the typed text and its replacement. Autocorrect will then ignore it when you type that word.
一個方便的竅門是設置一個單詞替換自己。 如果您的Mac或iPhone不允許您鍵入一個特定的單詞(例如,一個咒罵單詞),則可以將完整的單詞添加為鍵入的文本及其替換。 當您鍵入該單詞時,自動更正將忽略它。
Note: You might find some text boxes where replacements don’t work. This only seems to be an issue in Chrome and Firefox—Safari works just fine. So if your replacements are bugging out, it’s probably the app, not your settings.
注意:您可能會發現一些文本框,其中替換項無效。 在Chrome和Firefox中,這似乎只是一個問題-Safari可以正常工作。 因此,如果您的替代產品很麻煩,則可能是應用程序而不是您的設置。
翻譯自: https://www.howtogeek.com/363905/how-to-disable-or-customize-autocorrect-on-mac/
自定義異常禁用異常堆棧