You've already forked ada_language_server
mirror of
https://github.com/AdaCore/ada_language_server.git
synced 2026-02-12 12:45:50 -08:00
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.
756 B
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 SelectGPR 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[];
};