Skip to content
Versora

Manual

Commits

Spell checker

4 min read

On this page

Versora uses the Windows spell checker (the one in WebView2, the component that draws the app's window) in the commit message. Misspelled words are underlined, and right-clicking the word shows the suggestions in a menu of the app's own.

The spell checker works in:

  • Commit summary;
  • Description (optional);
  • the expanded description editor (Commit description);
  • the Text (the first line is the summary) field of the template editor, in Preferences › Commit message.

In the app's other fields, right-clicking shows the usual Windows menu.

Spell checker in the commit message

Where to find it

  • In the commit box itself: the underlined words and right-clicking on them.
  • To turn it on or off: Preferences › Commit message › Spell checker › Spell checker in the commit message.
  • Palette (Ctrl+P): "Commit message preferences".

Step by step

  1. Write the message. A word the dictionary doesn't know is underlined.
  2. Right-click the word (or put the cursor on it and use Shift+F10 or the Menu key).
  3. The menu shows the suggestions at the top. Click one: it replaces the word in the field.
  4. Below the suggestions are Undo, Redo, Cut, Copy, Paste and Select all (the ones that make sense at the moment) and, last, Spell checker language…, which opens Preferences › Commit message.
  5. If you replaced the wrong one, Ctrl+Z in the field undoes the replacement.
OptionWhat it doesDefault
Spell checker in the commit message › OnTurns the underlining and the suggestions on or off in the summary, the description and the expanded editor. Takes effect right awayOn
Dictionary languageThe language of the words and the suggestions (see the next section)Windows' language

What Versora does in git

Nothing. The spell checker only looks at the text in the box; the commit is the usual one.

How to undo

Replacing a word goes into the field's own undo: Ctrl+Z with the focus in the field brings back the previous word.

Caveats and messages

  • "No suggestions": the dictionary has nothing to suggest for the word. The suggestions are also empty if the Windows spell checker takes too long to respond.
  • There's no "Add to dictionary" in the menu: that would write to the Windows personal dictionary, which applies to other programs too. Underlined technical terms (function names, acronyms) can be ignored.
  • Branch names, file names and code snippets in the message usually show up underlined; that's not an error.
  • Preferences › Commit message › Spell checker. The company policy can hide this page or make it read-only.

See also

Dictionary language

The spell checker uses one dictionary at a time. By default it's the one for the Windows language; you can choose another language that has spelling installed in Windows, for example to write the messages in English on Windows set to Portuguese.

Where to find it

  • Preferences › Commit message › Spell checker › Dictionary language.
  • In the commit box's right-click menu: Spell checker language….

Step by step

  1. Open Preferences › Commit message.
  2. Under Dictionary language, look at the list. The hint next to it says which languages have spelling installed, for example "With spelling installed in Windows: English (United States) · en-US, Portuguese (Brazil) · pt-BR."
  3. Choose the language.
  4. "The new language takes effect after you close and reopen Versora." appears. Close and reopen the app.
  5. To go back to the default, choose Windows' language (Portuguese (Brazil) · pt-BR) and reopen the app.

If the language you want isn't on the list, install it in Windows with the spelling feature (Settings › Time & language › Language & region) and open Preferences again.

OptionWhat it isDefault
Windows' language (…)The first Windows languageSelected
A language from the listA language with spelling installed in Windows, shown as "English (United States) · en-US"—
"Spanish (Spain) · es-ES — no spelling installed in Windows"Shows up when the language chosen earlier no longer has spelling installed—

What Versora does in git

Nothing in git.

For IT

The chosen language goes to WebView2 when the app opens (the --accept-lang argument, with the chosen language ahead of the Windows languages). The choice is kept in a file in Versora's WebView2 profile folder, under %LOCALAPPDATA%. With no language chosen, the app doesn't pass anything to WebView2.

How to undo

Choose Windows' language (…) and reopen the app.

Caveats and messages

  • When you choose a language, the interface language is pinned to the current one (Preferences › General), because WebView2 then reports the spell checker language as the preferred one. The page's note says which one ("… the interface language is pinned to English (Preferences › General) …"). Git terms stay in English, as always.
  • "Windows didn't report any language with spelling installed.": the list only has the Windows language.
  • ""xx" isn't a valid language code (e.g. en-US, pt-BR).": an invalid language code.
  • "Couldn't find the WebView2 profile folder." and "Couldn't save the spell checker language: …": the app couldn't save the choice.

See also