Skip to content

Add a script to copy language server and debugger binaries to the Extension folder#14370

Merged
bobbrow merged 4 commits intomainfrom
bobbrow/copyBinaries
Apr 13, 2026
Merged

Add a script to copy language server and debugger binaries to the Extension folder#14370
bobbrow merged 4 commits intomainfrom
bobbrow/copyBinaries

Conversation

@bobbrow
Copy link
Copy Markdown
Member

@bobbrow bobbrow commented Apr 13, 2026

I frequently want to get the latest binaries without building in Release mode or tracking down a debugger build drop.

Co-authored by Copilot

@bobbrow bobbrow requested a review from a team as a code owner April 13, 2026 21:34
@github-project-automation github-project-automation bot moved this to Pull Request in cpptools Apr 13, 2026
Copy link
Copy Markdown
Contributor

@sean-mcmanus sean-mcmanus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the LLVM/bin folder too for clang-tidy and clang-format binaries?

@sean-mcmanus
Copy link
Copy Markdown
Contributor

sean-mcmanus commented Apr 13, 2026

FYI, on mac, I think a command like xattr -dr com.apple.quarantine <file> might also be required, but I could poentially update the script later to handle that...unless you wanted to try to handle that now.

@bobbrow
Copy link
Copy Markdown
Member Author

bobbrow commented Apr 13, 2026

Can you add the LLVM/bin folder too for clang-tidy and clang-format binaries?

done.

@bobbrow
Copy link
Copy Markdown
Member Author

bobbrow commented Apr 13, 2026

FYI, on mac, I think a command like xattr -dr com.apple.quarantine <file> might also be required, but I could poentially update the script later to handle that...unless you wanted to try to handle that now.

I can't really test on mac, so if you want to do it after, that would be good.

@bobbrow bobbrow enabled auto-merge (squash) April 13, 2026 22:00
@bobbrow bobbrow merged commit ddb5445 into main Apr 13, 2026
6 checks passed
@bobbrow bobbrow deleted the bobbrow/copyBinaries branch April 13, 2026 22:48
@github-project-automation github-project-automation bot moved this from Pull Request to Done in cpptools Apr 13, 2026
@sean-mcmanus
Copy link
Copy Markdown
Contributor

sean-mcmanus commented Apr 13, 2026

@bobbrow It seems like xattr -dr com.apple.quarantine isn't required when that script is used to copy it? I'll re-evaluate if I ever see the binary is blocked popup again. Or it's possible the xattr is saved and persists.

@bobbrow
Copy link
Copy Markdown
Member Author

bobbrow commented Apr 13, 2026

@bobbrow It seems like xattr -dr com.apple.quarantine isn't required when that script is used to copy it? I'll re-evaluate if I ever see the binary is blocked popup again. Or it's possible the xattr is saved and persists.

ok

sean-mcmanus added a commit that referenced this pull request Apr 14, 2026
* Update changelog and TPN. (#14298)

* Update flatted and fast-xml-parser. (#14303)

* Bump flatted from 3.4.1 to 3.4.2 in /Extension (#14304)

Bumps [flatted](https://github.com/WebReflection/flatted) from 3.4.1 to 3.4.2.
- [Commits](WebReflection/flatted@v3.4.1...v3.4.2)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update changelog with recent fixes. (#14313)

* Bump picomatch from 2.3.1 to 2.3.2 in /ExtensionPack (#14318)

Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump picomatch from 2.3.1 to 2.3.2 in /.github/actions (#14319)

Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sean McManus <seanmcm@microsoft.com>

* Bump picomatch from 2.3.1 to 2.3.2 in /Themes (#14323)

Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update picomatch. (#14324)

* Update brace-expansion v5. (#14325)

* Bump serialize-javascript from 7.0.4 to 7.0.5 in /.github/actions (#14332)

Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 7.0.4 to 7.0.5.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](yahoo/serialize-javascript@v7.0.4...v7.0.5)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-version: 7.0.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update brace-expansion and serialize-javascript. (#14328)

* minimize the calls to lm.selectChatModels (#14327)

* Update brace-expansion for other folders (#14333)

* Update brace-expansion for other folders.

* Update changelog for 1.31.4. (#14338)

* Bump @xmldom/xmldom from 0.8.11 to 0.8.12 in /Extension (#14340)

Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.11 to 0.8.12.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](xmldom/xmldom@0.8.11...0.8.12)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-version: 0.8.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update TPN. (#14343)

* Update npmrc. (#14346)

* Prefer GPT-5-mini for Copilot Hover (#14349)

* Update lodash. (#14350)

* Fix npx @vscode/vsce. (#14354)

* Fix npx @vscode/vsce.

* Fix cg.yml. (#14355)

* UCRTVersion is not required for a developer environment (#14358)

* Update instructions for installing MSVC (#14361)

* Bump axios from 1.13.6 to 1.15.0 in /.github/actions (#14365)

Bumps [axios](https://github.com/axios/axios) from 1.13.6 to 1.15.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.6...v1.15.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add setting doxygen.generateOnCodeAction. (#14342)

* Run without debugging (#14351)

* Switch to GPT-4o. (#14364)

* Fallback to GPT-5.4-mini and cache the model used. (#14369)

* Fallback to GPT-5.4-mini and cache the model used.

* Add a script to copy language server and debugger binaries to the Extension folder (#14370)

* Add internal silent find-all-references command (#14281)

* Add internal silent find-all-references command

Introduce an internal C_Cpp.FindAllReferences command that issues the existing cpptools/findAllReferences request without joining the workspaceReferences single-flight cancellation path.

Extract the shared request and confirmed-location mapping logic from FindAllReferencesProvider so the existing vscode.executeReferenceProvider flow and the new silent command use the same request translation and cancellation handling for server-side cancel responses.

Keep the interactive provider behavior unchanged: user-invoked references still cancel prior work, reset reference progress state, and update the ReferencesManager UI. The new command resolves the owning client from the target URI and returns locations without progress UI, preview notifications, or references panel updates, enabling concurrent silent callers such as Copilot.

* Add internal quiet definition and call hierarchy commands

Align cpptools with the companion changes that now prefer internal
C_Cpp.* navigation commands over the generic vscode.* provider commands
when running extension-driven symbol queries.

Add C_Cpp.GoToDefinition, C_Cpp.PrepareCallHierarchy,
C_Cpp.CallHierarchyCallsTo, and C_Cpp.CallHierarchyCallsFrom as
internal commands that resolve the owning DefaultClient from the target
URI and send requests directly to cpptools without joining the
workspaceReferences UI and single-flight cancellation path.

Extract shared call hierarchy request and conversion logic from
CallHierarchyProvider so the existing interactive provider flow and the
new silent commands share the same request translation and
server-cancellation handling.

Add a dedicated go-to-definition helper that sends the standard
definition request through the language client and normalizes both
Location and DefinitionLink responses to Location[] so companion callers
can consume a stable result shape.

Keep interactive behavior unchanged: user-invoked providers continue to
use the existing VS Code registrations, progress handling, and
workspaceReferences-driven cancellation semantics, while extension
callers such as the devtools companion can use the new internal command
surface without canceling overlapping work.

* Update changelog for 1.32.0. (#14373)

* Update changelog for 1.32.0.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luca <681992+lukka@users.noreply.github.com>
Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
Co-authored-by: Bob Brown <bobbrow@users.noreply.github.com>
Co-authored-by: Carson Radtke <carsonradtke@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants