Skip to content

Copilot hook fails due to path resolution #178

Description

@DustinGustavT

Copilot hooks now fail giving: can't open file '<PATH-TO-MY-REPO>\\hooks\\databricks-context.py': [Errno 2] No such file or directory"

That is, it seems to be trying to find the script in my open folder rather than in the plugin path. I think this is a nuance with hooks in VS code? Based on https://code.visualstudio.com/docs/agent-customization/agent-plugins#_reference-plugin-paths-in-hook-commands it seems like Copilot format hooks might not support referencing scripts like you do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions