Files
ada_language_server/doc/README.md
Abdellah Belaid f907614666 Add Gpr tasks to build and run main subprograms
Add a Language Server extension to get the project main sources (glsMains request).
Add a Language Server extension to get the project main executables (glsExecutables request).
Activate the extension when Gpr or Ada sources are present in the current directory or sub-directory (only 1 level lookup).
Add tests to the VS Code extension test-suite, testing the alsCheckSyntax, glsMains and glsExecutables requests.
2023-05-09 15:48:42 +01:00

1.8 KiB

How to Extend the Protocol for Ada

The Ada Language Server (ALS) supports some features that are not in the official Language Server Protocol specification. This document specifies how these features are documented.

Feature description document

Each feature is described in a dedicated Markdown document. There is a list of all features at the end of this document. We provide a template for convenience. The feature description document has the following structure:

Title (feature name)

The title matches the feature description document file name.

Short introduction

A short introduction describes purpose of the extension.

Capabilities [optional]

If a given feature requires some incompatible changes to the LSP protocol, then the client should request the explicit Capability to make the server send the extended information. This is required only in places where we replace some standard JSON properties. We can add new JSON properties without breaking compatibility, because clients simply ignore unknown properties.

This section provides a description of additional capabilities of the Initialize request if required.

We use the als prefix in additional properties, to avoid name collisions.

Change description

This section describes what requests, responses and notifications are changed. It includes TypeScript definitions, as the official specification does.

See also [optional]

This section includes related feature description documents and links to others related resources.

List of features