Skip to content

[BUG] VS Code: Claude Code hooks not being set #99

Closed as duplicate
Closed as duplicate

Description

@jchapuis

👋 great idea! however, i'm unable to make it work somehow with Claude. I'm using Claude within visual studio, and the small "Accept this plan" dialog still shows, no change, no browser window opening. I've tried loading up plans manually in plannotator but it understands this as a code review skill invocation (this works).

Btw would be useful precisely to be able to load up plan files, i'm using sessions and sometimes plans have been elaborated in other sesssions.

Cheers!

Activity

  1. backnotprop commented on Jan 20, 2026

    @backnotprop
    Owner

    thanks for reporting @jchapuis

    I will have to test this setup with vs code.

    Generally the hooks should be in place if you installed the plugin via marketplace (Within Claude Code).

    curl -fsSL https://plannotator.ai/install.sh | bash
    
    /plugin marketplace add backnotprop/plannotator
    /plugin install plannotator@plannotator
    

    @arthuracn I see you liked, would also like to know your setup.

    im also happy to meet on Google Meet to debug

  2. backnotprop commented on Jan 20, 2026

    @backnotprop
    Owner

    If for whatever reason those commands arent working... you could always setup manually:

    {
      "hooks": {
        "PermissionRequest": [
          {
            "matcher": "ExitPlanMode",
            "hooks": [
              {
                "type": "command",
                "command": "plannotator",
                "timeout": 345600
              }
            ]
          }
        ]
      }
    }
    
  3. arthuracn commented on Jan 20, 2026

    @arthuracn

    Hi!
    Yes so the setup is working in the CLI but not in the VSCode extension.
    Adding the hook manually did the trick, thanks!

  4. backnotprop commented on Jan 20, 2026

    @backnotprop
    Owner

    Thanks @arthuracn !

    Will investigate further.

  5. changed the title [-]Hooking issues[/-] [+]Hooking issues (VS Code - Claude Code Hooks not being set)[/+] on Jan 20, 2026
  6. backnotprop commented on Jan 20, 2026

    @backnotprop
    Owner

    My testing hooks only seem to be working if I use the terminal within VSCode. But this native VSCode chat doesn't seem to fire hooks.

    x2 screenshots, the native not working, and the terminal working:

    Native - Doesn't work:
    Image

    VS Code Terminal - Works:

    Image Image

    I'll create an issue in Claude Code github. I'm not sure how much more I can do here.

  7. added
    bug
    on Jan 22, 2026
  8. changed the title [-]Hooking issues (VS Code - Claude Code Hooks not being set)[/-] [+]VS Code: Claude Code hooks not being set[/+] on Jan 22, 2026
  9. changed the title [-]VS Code: Claude Code hooks not being set[/-] [+][BUG] VS Code: Claude Code hooks not being set[/+] on Jan 22, 2026
  10. backnotprop commented on Apr 2, 2026

    @backnotprop
    Owner
  11. backnotprop commented on Jun 13, 2026

    @backnotprop
    Owner

    Thanks for the report. I am consolidating the older backlog so related work has one current tracking issue.

    This specific request is now tracked in #903 as part of the IDE and runtime integration parity work. During the June 13, 2026 older-than-two-month triage, I copied the relevant requirement from this issue into #903 and explained why it belongs with the related work.

    I am closing this older issue so the backlog points at the current tracking issue. If there is a newer reproduction or a detail that is missing from #903, please comment there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions