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
UB25-027: Add a custom request to list source directories
Allowing the extension to query them in order to add them to the workspace
if not already present.
This allows to search for files that come from imported projects that might
not be under the workspace root directory.
This works only for importing non-externally built source directories
for the moment.
This is a custom request used by the VS Code extension to retrieve the project's source directories, allowing to add missing directories in the workspace when needed.
6
+
7
+
## Change description
8
+
9
+
We introduce three new types to represent the request parameters and results:
10
+
11
+
```typescript
12
+
13
+
interfaceALS_Unit_Description {
14
+
name :string; /* The source directory's name in VS Code */
15
+
uri :DocumentUri; /* The source directory's uri */
16
+
}
17
+
```
18
+
19
+
And a new request:
20
+
21
+
method: `workspace/alsSourceDirs`
22
+
params: null
23
+
24
+
Returning the source directories of the loaded project like this:
0 commit comments