Skip to content

Ada#

Server#

For more information about the LSP server, check ada_language_server.

Installation#

This Server supports automatic install. Install this language server with M-xlsp-install-serverRETada-lsRET.

For more instructions on how to install manually, check here.

Debugger: Yes (gdb)#

Available configurations#

lsp-ada-als-executable#

Type: file

Default: ada_language_server

Command to start the Ada language server.


lsp-ada-enable-diagnostics#

Type: boolean

Default: t

A boolean to disable diagnostics. Defaults to true.


lsp-ada-option-charset#

Type: string

Default: UTF-8

The charset to use by the Ada Language server. Defaults to 'UTF-8'.


lsp-ada-project-file#

Type: (choice (string :tag File) (const :tag Not Specified nil))

Default: nil

GNAT Project file used to configure the Language Server.

Both absolute and relative paths are supported within the project file name. When a relative path is used, the path is relative to the root folder.

When the project file is not specified, the Language Server will attempt to determine the project file itself, either by querying 'alr', if the root folder contains an alire.toml file and 'alr' was found in the path, or otherwise by searching for a unique project file in the root folder. For Alire projects, whose project file was discovered by querying 'alr', the server will also query and populate the Alire environment.


lsp-ada-semantic-token-face-overrides#

Type: (alist :key-type string :value-type (choice (face :tag Face) (const :tag No Face nil)))

Default: ((namespace . default) (modifier . lsp-face-semhl-keyword))

Semantic token face overrides to be applied.


lsp-ada-semantic-token-modifier-face-overrides#

Type: (alist :key-type string :value-type (choice (face :tag Face) (const :tag No Face nil)))

Default: ((declaration) (definition) (implementation) (static) (modification) (documentation) (defaultLibrary))

Semantic token modifier face overrides to be applied.



Last update: July 22, 2024