We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a01338 commit de49495Copy full SHA for de49495
1 file changed
src/node/vscode.ts
@@ -165,7 +165,16 @@ export class VscodeProvider {
165
}
166
167
/**
168
- * Choose the first non-empty path.
+ * Choose the first non-empty path from the provided array.
169
+ *
170
+ * Each array item consists of `url` and an optional `workspace` boolean that
171
+ * indicates whether that url is for a workspace.
172
173
+ * `url` can be a fully qualified URL or just the path portion.
174
175
+ * `url` can also be a query object to make it easier to pass in query
176
+ * variables directly but anything that isn't a string or string array is not
177
+ * valid and will be ignored.
178
*/
179
private async getFirstPath(
180
startPaths: Array<{ url?: string | string[] | ipc.Query | ipc.Query[]; workspace?: boolean } | undefined>,
0 commit comments