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
24 lines
517 B
Markdown
24 lines
517 B
Markdown
# Object Directory
|
|
|
|
## Short introduction
|
|
|
|
This is a custom command used by the VS Code extension to retrieve the Object Directory from the GPR project file, allowing us to get the path to the object directory currently in use.
|
|
|
|
## Change description
|
|
|
|
We introduce a new type to represent the request results:
|
|
|
|
```typescript
|
|
|
|
type ObjDirResponse = string;
|
|
|
|
```
|
|
|
|
And a new command with out arguments:
|
|
|
|
method: `als-object-dir`
|
|
|
|
Returning the project file of the loaded project like this:
|
|
|
|
result: `ObjDirResponse`
|