Check Spelling in Your Code While You Type in Xcode

Ravindra Bhati
2 min readApr 24, 2020

Just wondering if there is a way to enable spell checking in Xcode.😳

Life is like a little book written with a whole lot of surprise. spell a word that doesn’t fit in and that’s a spell in desguise.

Xcode finally adds the long-awaited support for spell checking. It works natively, without any extensions, framework and third-parties.

Basically, everything inside your source editor can be spell checked: names of variables, methods and classes, string literals (including your localizable strings) and comments.

Here is how to use spell checking with Xcode

“⌘ + ;” to find next misspelled word. Works for code, strings and comments:

“⌘ +Shift+ :” to show spelling editor with corrections.

Always-enabled mode: from the menu open Edit > Format > Spelling and Grammar > Check Spelling While Typing.

I watched video on youtube created by @Sean Allen -:

Thanks for reading 🙌🏼

Hope you enjoyed 👍🏻

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Ravindra Bhati
Ravindra Bhati

Written by Ravindra Bhati

Software Engineer, I’m mobile application developer proficient with programming languages SwiftUI, Swift and Objective-C, Unit testing, Accessibility

No responses yet

Write a response