-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Add XVBA dependencies as vendored #7532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
👇 😉 linguist/test/test_file_blob.rb Line 270 in 1040da7
|
|
This doesn't appear to be particularly popular with search only returning 51 files within this path. |
I thought so too at first, but there seems to be a bug with the number displayed in Search and the actual number of files that match. It's almost like Search has discovered that all these files are identical, so it applied some kind of single-counting optimization that reduce the number of results appearing in Search. One way to see it clearly is with a search for a specific file like worksheet.d.vb: https://github.com/search?q=path%3Axvba_modules%2F*%2Fworksheet.d.vb&type=code It says "2 files", but I've counted around 46 results and since there is usually one of these per repo, that would mean there is at least 46 repos that use the xvba_modules.
|
|
Also, I've been also looking to see if I can find projects that are not indexed and I could easily find 4 with a quick search and looking only at the first 2 pages of results. So there are definitely more than 50 repos using xvba_modules.
|
|
That's still incredibly low. The lack of indexing is generally a sign of a lack of activity. We switched the search backend a few years back and IIRC only index based on activity. (Yes, this makes checking usage hard and not very accurate but we don't really have any other options).
I have no idea about this. Very odd. If you really want to know what's up, I'd recommend opening a support ticket. |
|
Ok, I've submitted a support ticket for this. |
|
I've received a response from the support team a few days ago and it was confirmed that there is no double-counting in Search: if a file has identical copies across GitHub, it will only count for one result it the counter that appears at the top of search results. For the file The support team acknowledged that there is a display bug in the sense that there should be a window asking to display identical files with the total like this one:
However, there is no indication that there is more than 50 or so repos that contain one of these modules at the moment. |
Yeah, that seems reasonable to me. |






Description
At the moment, XVBA is the most popular VS Code extension for VBA. One feature it offers is the inclusion of VBA "modules" and other dependencies inside the
xvba_modulesdirectory. The files included there should be considered vendored files in the same way we do fornode_modules.Examples of repos that have this directory:
Examples of a "module" included in the xvba_modules folder:
Checklist:
(There's no tests to update for vendored files at the moment it seems)