You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/object_dir.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,24 +2,21 @@
2
2
3
3
## Short introduction
4
4
5
-
This is a custom request 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.
5
+
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.
6
6
7
7
## Change description
8
8
9
9
We introduce a new type to represent the request results:
10
10
11
11
```typescript
12
12
13
-
typeObjDirResponse= {
14
-
Value :string;
15
-
};
13
+
typeObjDirResponse=string;
16
14
17
15
```
18
16
19
-
And a new request:
17
+
And a new command with out arguments:
20
18
21
-
method: `$/glsObjectDir`
22
-
params: null
19
+
method: `als-object-dir`
23
20
24
21
Returning the project file of the loaded project like this:
Copy file name to clipboardExpand all lines: doc/project_file.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,20 @@
2
2
3
3
## Short introduction
4
4
5
-
This is a custom request used by the VS Code extension to retrieve the GPR project file uploaded by the ALS, allowing us to get the path to the project file currently in use.
5
+
This is a custom command used by the VS Code extension to retrieve the GPR project file uploaded by the ALS, allowing us to get the path to the project file currently in use.
6
6
7
7
## Change description
8
8
9
9
We introduce a new type to represent the request results:
10
10
11
11
```typescript
12
12
13
-
exporttypeProjectFileResponse= {
14
-
Value :string; // The Path to the GPR project file
15
-
};
13
+
exporttypeProjectFileResponse=string; // The Path to the GPR project file
16
14
```
17
15
18
-
And a new request:
16
+
And a new command with out arguments:
19
17
20
-
method: `$/glsProjectFile`
21
-
params: null
18
+
command: `als-project-file`
22
19
23
20
Returning the project file of the loaded project like this:
0 commit comments