Programming Languages

Source Insight uses a language abstraction to encapsulate the properties of various programming languages.

For a given file buffer, the file’s name determines its document type. The document type determines its language. The Options > Document Options dialog box is used to associate a document type with a file name and a language.

Source Insight supports languages by displaying source code with syntax formatting, parsing symbol definitions out of the code, and storing symbolic information in the project’s symbol database.

Symbol declaration parsing is controlled by the language type associated with the file's document type.

To see a list of the currently supported languages, use the Options > Preferences: Languages dialog box. New languages are added to the list from time to time in program updates.

Languages in Source Insight are divided into two categories: Built-In, and Custom.

In this section: