opencode icon indicating copy to clipboard operation
opencode copied to clipboard

On file edit it is also formatted

Open Adar-Dagan opened this issue 2 days ago • 2 comments

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

Adar-Dagan avatar Jan 14 '26 07:01 Adar-Dagan