Update scripts/get-vscode-usages.sh (#4402)

This commit is contained in:
Sarah Fortune
2025-06-23 16:19:14 -07:00
committed by GitHub
parent b84084936b
commit 943c52f0b3
+2 -1
View File
@@ -13,7 +13,8 @@ grep -Ev '//.*vscode' | # remove commented out code
sed 's|.*vscode\.|vscode.|'| # remove everything before vscode.
sed 's/[^a-zA-Z0-9_.].*$//' | # remove everything after last identifier
grep -E '\.[a-z][^.]+$' | # remove types (last part of identifier should be lowercase)
sort | uniq > $SDK_DEST
sort | uniq -c | sort -n | # Count occurrences
cat > $SDK_DEST
}
echo Wrote uses of the vscode SDK to $(realpath $SDK_DEST)