İçeriğe geç
KAMPANYA Kurumsal Web Paketi — $499'dan başlayan fiyatlar Web & Logo Tasarımı · Kurumsal E-posta · LiteSpeed + CloudLinux · Imunify360 Güvenlik · cPanel Yönetim · 3 Gbps DDoS Koruması 00 Gün 00 Saat 00 Dk 00 Sn
AIOR

How to Disable Auto-Correct on macOS — A Practical Guide for Developers

Sektör topluluğu — sorularınız, deneyimleriniz ve duyurularınız için.

How to Disable Auto-Correct on macOS — A Practical Guide for Developers

Aior

Administrator
Staff member
Joined
Apr 2, 2023
Messages
895
Reaction score
2
Points
18
Age
40
Location
Turkey
Website
aior.com
1/3
Thread owner

macOS varsayılan olarak yazım sırasında otomatik düzeltme uygular. Çoğu kullanıcı için bu yararlı olsa da yazılım geliştiriciler, sistem yöneticileri ve teknik içerik üreticileri için sürpriz bir engele dönüşür: değişken isimleri, komut satırı parametreleri, JSON anahtar adları ve hatta SSH komutları silikat bir biçimde değiştirilebilir. Bu yazıda, otomatik düzeltmeyi sistem genelinde ve uygulama bazında nasıl kontrol edeceğinizi gösteren bir uçtan uca rehber sunuyoruz.

1) Sistem geneli kapatma
System Settings > Keyboard > Text Input > Edit yolunu izleyin. Açılan diyalogda dört temel anahtar göreceksiniz:
  • Correct spelling automatically — otomatik düzeltme.
  • Capitalize words automatically — cümle başlatma.
  • Add period with double-space — çift boşluk → nokta.
  • Use smart quotes and dashes — "akıllı" tırnaklar/tireler.
Geliştirici bir Mac için dördünü de kapatmak yaygın bir tercihtir. "Smart quotes" özellikle kod parçalarını kopyala-yapıştır ile çalışmaz hâle getirebilir.

2) Klavye yerleşimi kontrolü
Aynı menü altında bir de "Text Replacements" listesi vardır. Eski Mac kullanıcılarının yıllarca biriktirdiği kısaltmalar bazen modern projelerde geri tepiyor: "omw → on my way" türünden eşleştirmeler kod yorumlarına sızabilir. Listeyi temizleyin veya geliştirici hesabı için bu sözlüğü boş tutun.

3) Uygulama bazlı denetim
Bazı uygulamalar (Notes, Mail, Messages) kendi düzeltme ayarlarını ek olarak işler. Edit > Substitutions menüsünden "Smart Quotes" ve "Smart Dashes" seçeneklerini her uygulama için kapatın. Word ve Pages gibi ofis uygulamaları, sistem ayarını yok sayar ve kendi düzeltmesini uygular; ayarlarını ayrıca açıp kapatmanız gerekir.

4) Geliştirici editörleri için ek koruma
VS Code, JetBrains IDE'leri ve Sublime Text zaten sistem otomatik düzeltmesinden etkilenmez, çünkü kendi metin alanlarını kullanırlar. Yine de tarayıcı içine yazdığınız metinlerde (örneğin GitHub PR açıklamaları) düzeltme devreye girer. Tarayıcı için ek bir kontrol şöyle yapılabilir:
Code:
defaults write -g WebAutomaticSpellingCorrectionEnabled -bool false
Bu komut Safari ve diğer WebKit tabanlı tarayıcılarda metin alanlarında otomatik düzeltmeyi kapatır. Chrome kendi ayarını kullanır; ona ayrıca dokunmanız gerekir.

5) Terminal ve SSH oturumları
Terminal.app ve iTerm2 sistem ayarından bağımsız çalışır; otomatik düzeltme genelde terminale uygulanmaz. Ancak akıllı tırnaklar bazen pano üzerinden gelir. iTerm2'de Preferences > Profiles > Terminal altında "Convert smart quotes when pasting" seçeneğini kapatın.

6) Türkçe klavye notu
Türkçe Q veya F klavye düzenlerinde otomatik düzeltme bazı durumlarda Türkçe karakterleri bozar. macOS, dil paketi yüklü olduğunda Türkçe sözlük kullanır. Kapatma, yazılım geliştirme sürecini sadeleştirir ve özellikle PHP/Bash betiklerinde sürpriz karakter değişimini önler.

7) Komut satırından kalıcı kapatma
Code:
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -bool false
defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool false
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
Bu komutları çalıştırdıktan sonra uygulamaları kapatıp yeniden açtığınızda yeni davranışı kullanır. Bir provisioning betiği bu satırları yeni geliştirici makinelerinde otomatik uygulayabilir.

8) Geri alma
Aynı komutları true ile çalıştırarak orijinal davranışa dönebilirsiniz. Kişisel kullanım için tüm düzeltmeleri kapatmak agresif olabilir; geliştirici hesabı ile kişisel hesabı ayırmak hibrit bir yaklaşımdır.

Bu adımlarla macOS, kod yazarken bağlamı bozan sürpriz dönüştürmeler üretmeden yardımcı olur ve özellikle Türkçe bağlamda yaşanan karakter karmaşası ortadan kalkar.


macOS applies aggressive text autocorrection by default. For casual users it is convenient, but for developers, sysadmins and technical writers it becomes an active obstacle: variable names get rewritten, command-line flags get "corrected" and SSH commands sometimes silently mutate. This guide is an end-to-end map of where the settings live and how to disable them at the system, application and command-line layers.

1) System-wide disable
Navigate to System Settings > Keyboard > Text Input > Edit. The dialog exposes four switches:
  • Correct spelling automatically — the auto-correct itself.
  • Capitalize words automatically — auto-capitalisation.
  • Add period with double-space — double-space-to-period.
  • Use smart quotes and dashes — typographic substitution.
On a developer's Mac, disabling all four is a defensible default. Smart quotes in particular break copy/paste of code samples and shell snippets.

2) Keyboard layout sanity check
Right under the same panel sits the "Text Replacements" list. Years of accumulated shortcuts ("omw → on my way") can leak into code comments and PR descriptions. Clear the list — or keep an empty dictionary for the developer account.

3) Per-application overrides
Notes, Mail and Messages enforce their own substitutions on top. From Edit > Substitutions turn off "Smart Quotes" and "Smart Dashes" individually. Office apps like Word and Pages ignore the system setting and run their own engine — open their preferences and disable inline correction there separately.

4) Editors and browsers
VS Code, JetBrains IDEs and Sublime do not honour the system autocorrect because they implement their own text fields. But browser text fields do honour the system setting, and a few use their own. To disable WebKit text correction system-wide:
Code:
defaults write -g WebAutomaticSpellingCorrectionEnabled -bool false
This affects Safari and other WebKit-based browsers. Chrome reads its own setting at Settings > Languages > Spell Check.

5) Terminal and SSH sessions
Terminal.app and iTerm2 run outside the system autocorrect, but smart quotes occasionally arrive through the clipboard. In iTerm2, open Preferences > Profiles > Terminal and uncheck "Convert smart quotes when pasting" so that a copied snippet doesn't get mangled.

6) Turkish keyboards
With a Turkish Q or F layout, macOS pulls in a Turkish dictionary that occasionally rewrites correct technical terms into Turkish words. Disabling correction simplifies development and prevents PHP or Bash scripts from sprouting surprise diacritics.

7) Persistent disable from the shell
Code:
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -bool false
defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool false
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
After running these, restart any open application so the new defaults take effect. Drop them into a provisioning script to bake this configuration into every new dev machine.

8) Undoing the change
Re-run any line with true to restore default behaviour. Disabling everything is aggressive for personal use; a common compromise is to maintain a separate "work" account with corrections off and keep them on under the personal account.

These steps turn macOS from "helpful but surprising" into "silent but predictable," especially valuable in mixed-language Turkish and English technical work.
 

Forum statistics

Threads
891
Messages
898
Members
27
Latest member
AIORAli

Members online

No members online now.

Featured content

AIOR
AIOR TEKNOLOJİ

Tüm ihtiyaçlarınız için Teklif alın

Hosting · Domain · Sunucu · Tasarım · Yazılım · Mühendislik · Sektörel Çözümler

Teklif al

7/24 Destek · Anında yanıt

Back
Top