Categories
Apple OSX

Disable Apple Messages from “Smart Quoting” your code in messages

Do you use Apple’s Messages to send code snippets to text to other developers, or to yourself, BUT messages converts your ” and ‘ to smart quotes and when you then copy that code and … it doesn’t work?

That’s annoying!

The Fix:

Open Terminal or iTerm on your Mac and paste in the following command:

defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "automaticQuoteSubstitutionEnabled" -bool false

This is one command, it may be wrapped or span more than one line, but it is only one line/command.

Leave a Reply

Your email address will not be published. Required fields are marked *