[PR #495] [CLOSED] feat: Add support for ktlint - Kotlin and clang-format - Java file formatting #9630

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/495
Author: @Suhas-Koheda
Created: 6/28/2025
Status: Closed

Base: devHead: dev


📝 Commits (1)

  • 4639ca7 feat: Add support for ktlint - Kotlin and clang-format - Java file formatting

📊 Changes

1 file changed (+38 additions, -0 deletions)

View changed files

📝 packages/opencode/src/format/index.ts (+38 -0)

📄 Description

This code makes use of Ktlint linter for Kotlin and clang-format formatter for Java

Fixes #493

Once the PR #478 is accpeted changes would be made to format java source codes
Kotlin formatter remains the same


🔄 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/495 **Author:** [@Suhas-Koheda](https://github.com/Suhas-Koheda) **Created:** 6/28/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`4639ca7`](https://github.com/anomalyco/opencode/commit/4639ca79856cab0b7034cc0512dea9cf4af1afdc) feat: Add support for ktlint - Kotlin and clang-format - Java file formatting ### 📊 Changes **1 file changed** (+38 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/format/index.ts` (+38 -0) </details> ### 📄 Description This code makes use of Ktlint linter for Kotlin and clang-format formatter for Java Fixes #493 Once the PR #478 is accpeted changes would be made to format java source codes Kotlin formatter remains the same --- <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:53 -05:00
yindo closed this issue 2026-02-16 18:13:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9630