GoLand 2024.3 Help

Natural languages

GoLand helps ensure your codebase is error-free and consistent not only in terms of correct programming languages syntax, but also in terms of proper grammar, spelling, and style. In addition to common text files like your project's README.md, it checks natural language consistency and correctness in your source files, including names of identifiers and variables, contents of string literals, comments, and even your commit messages.

Install the Grazie Lite plugin

This functionality relies on the Grazie Lite plugin, which you need to install and enable.

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. Open the Marketplace tab, find the Grazie Lite plugin, and click Install (restart the IDE if prompted).

By default, GoLand includes support for the English language. If you open a file with several paragraphs of text in another supported language, GoLand will detect it and offer a suggestion to download and enable checks for that language. You can see the list of supported languages and enable them in the settings.

Add spelling and grammar checks for a language

  1. Press Ctrl+Alt+S to open settings and then select Editor | Natural Languages.

  2. Click the Add button in the list of languages and select your language.

GoLand will download the language model and enable spelling and grammar checks for it.

Last modified: 06 November 2024