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.
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
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
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.
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
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
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.