Altium Designer Documentation


Created: July 27, 2015 | Updated: April 11, 2017
Now reading version 17.1. For the latest, read: SetupLanguage for version 21
Applies to Altium Designer versions: 15.1, 16.0, 16.1, 17.0 and 17.1

Parent page: TextEdit Commands

The following pre-packaged resource, derived from this base command, is available:

Applied Parameters: None


This command is used to access the Language Setup dialog, from where you can create, edit and manage, a list of languages that can be associated to documents opened in a coding-aware variant of the Text Editor. Each language consists of a syntax scheme, a set of code templates, and a list of file associations.


This command is accessed from the Text Editor (or any coding-aware variant of the Text Editor), by clicking the  button on the Utilities toolbar.


After launching the command, the Language Setup dialog appears. The dialog contains a list of languages that are currently defined. Use the dialog to create, duplicate, modify, and remove languages as required. For any given language, the following must be defined:

  • File extension associations.
  • The syntax of the language.
  • Any code templates required.


  1. The mapping of a file extension to a language is unique, if you add the same extension to another language, the mapping to its old language is automatically removed.
  2. If a file with a particular extension is associated with a language, the content of the file is highlighted in accordance with the syntax defined for that language.
  3. When you duplicate a language you also copy its syntax scheme, as well as all the code templates it contains.
  4. Code templates are predefined blocks of code that can be automatically placed in a coding-aware text-based file, and are an excellent productivity aid when you are writing code in a particular language.


Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

Contact Us

Contact our corporate or local offices directly.

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: