CLion 2024.3 Help

Spelling settings

Use this settings page to select custom spelling dictionaries, create your own dictionaries, add words, and thus expand the basic spellchecking support provided by CLion by default.

Item

Description

Use single dictionary for saving words

Defines the behavior of the Save 'word' to dictionary action invoked on a highlighted word:

  • If the checkbox is selected, CLion lets you select one of the built-in dictionaries where all highlighted words are saved.

  • If the checkbox is cleared, you will have to choose the dictionary manually every time you save a highlighted word.

Custom Dictionaries

This area displays the list of active dictionaries, which can be any of the following:

  • The built-in project-level and application-level dictionaries, which you populate by manually saving words to them.

  • Plain text files with the DIC extension, containing words separated with a new line.

  • Hunspell dictionaries, comprise two plain text files commonly sharing the same name, for example, en_GB.dic and en_GB.aff. The DIC file contains a list of words together with the applicable modification rules. The AFF file lists prefixes and suffixes regulated by a specific modification rule. Hunspell dictionaries can be easily obtained online, for example, here.

Item

Shortcut

Description

the Add button

Alt+Insert

Click this button to add a new dictionary to the list.

the Edit button

Enter

Click this button to open the contents of a dictionary in a new editor tab.

the Remove button

Alt+Delete

Click this button to remove the selected dictionary from the list. Note that built-in dictionaries cannot be removed.

Accepted Words

Use this area to view and add words that should be skipped by the spellchecker.

The Accepted words list also shows words that you saved to any of the built-in dictionaries using the Alt+Enter menu.

It does not show words added to the shared project-level dictionary by other users and words from other custom dictionaries, but these words will be still ignored by the spellchecker.

Item

Shortcut

Description

the Add button

Alt+Insert

Click this button to open the Add New Word dialog and specify a new entry there. CamelCase or snake_case are not supported. If you try to add a word, which is already included in one of the spelling dictionaries, CLion displays an error message.

the Remove button

Alt+Delete

Click this button to delete the selected item from the list.

Last modified: 26 May 2024