[[hooks.state]] is breaking config.toml

Resolved 💬 1 comment Opened May 9, 2026 by chibhat-orcl Closed May 9, 2026

What version of the IDE extension are you using?

26.506.31421

What subscription do you have?

Oracle Corp

Which IDE are you using?

VS Code

What platform is your computer?

Win11

What issue are you seeing?

After #21723 got fixed, there is a bug which is causing corruption of the config.toml
Empty [[hooks.state]] is breaking the config.toml.
Correct empty tag [hooks.state] (single square brackets) is fine and does not break

<img width="791" height="219" alt="Image" src="https://github.com/user-attachments/assets/33fa4013-b704-4934-a6b7-855c428c6402" />

What steps can reproduce the bug?

Trust any hooks in VSC extension

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗