On file edit it is also formatted #5649

Open
opened 2026-02-16 17:55:11 -05:00 by yindo · 0 comments
Owner

Originally created by @Adar-Dagan on GitHub (Jan 14, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When editing a cpp file then the file is also completely formatted making the edit very dirty if the source file isn't already formatted correctly.

Plugins

Non

OpenCode version

Latest

Steps to reproduce

  1. Get an unformated cpp file, I use files in the llvm project
  2. make the llm do a small edit in that file
  3. see there is a large diff for that file

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @Adar-Dagan on GitHub (Jan 14, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When editing a cpp file then the file is also completely formatted making the edit very dirty if the source file isn't already formatted correctly. ### Plugins Non ### OpenCode version Latest ### Steps to reproduce 1. Get an unformated cpp file, I use files in the llvm project 2. make the llm do a small edit in that file 3. see there is a large diff for that file ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 17:55:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5649