[PR #478] [CLOSED] feat: Better formatting tools existence check, and c++ formatting #9625

Closed
opened 2026-02-16 18:13:52 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/478
Author: @Polo123456789
Created: 6/27/2025
Status: Closed

Base: devHead: add-c-cpp-formatter


📝 Commits (3)

  • e1dacde feat: Add c and c++ file formatting with clang-format
  • a13e3db refactor: rename isProgramPresent to isCommandAvailable
  • 461df46 refactor(format): use Bun.which for command checks

📊 Changes

1 file changed (+29 additions, -24 deletions)

View changed files

📝 packages/opencode/src/format/index.ts (+29 -24)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/478 **Author:** [@Polo123456789](https://github.com/Polo123456789) **Created:** 6/27/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `add-c-cpp-formatter` --- ### 📝 Commits (3) - [`e1dacde`](https://github.com/anomalyco/opencode/commit/e1dacdeba9554971682cc9eebec105f079fc66a1) feat: Add c and c++ file formatting with clang-format - [`a13e3db`](https://github.com/anomalyco/opencode/commit/a13e3dbed41e3ead2d00766f7a3c0fcebcaaf30a) refactor: rename isProgramPresent to isCommandAvailable - [`461df46`](https://github.com/anomalyco/opencode/commit/461df46b998a62c9f29cdd98d47964805bbb3f6e) refactor(format): use Bun.which for command checks ### 📊 Changes **1 file changed** (+29 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/format/index.ts` (+29 -24) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:13:52 -05:00
yindo closed this issue 2026-02-16 18:13:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9625