Files
ada_language_server/doc/executables.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

756 B

Executables

Short introduction

This implements a functionality to query the mains and the executables for a multi targets project.

Capabilities

We provide the Build and Run tasks for specific targets in a GPR Projects.

To check these tasks :

  • click : Ctrl + Shift + P .
  • Select Run Tasks , then Select GPR Tasks.

Change description

We introduce two requests, the first one:

method: `glsMains`

Which provides the mains for the project, with a response type:

type GlsMainResult = {
    mains: string[];
};

The second one is:

method: `glsExecutables`

Which provides the executables for the project, with a response type:

type GlsExecutableResult = {
    executables: string[];
};