We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c0b3e4 commit 42335c9Copy full SHA for 42335c9
extensions/ql-vscode/src/data-extensions-editor/bqrs.ts
@@ -47,7 +47,14 @@ export function decodeBqrsToExternalApiUsages(
47
48
const externalApiUsages = Array.from(methodsByApiName.values());
49
externalApiUsages.sort((a, b) => {
50
- // Sort by number of usages descending
+ // Sort first by supported, putting unmodeled methods first.
51
+ if (a.supported && !b.supported) {
52
+ return 1;
53
+ }
54
+ if (!a.supported && b.supported) {
55
+ return -1;
56
57
+ // Then sort by number of usages descending
58
return b.usages.length - a.usages.length;
59
});
60
return externalApiUsages;
0 commit comments