Skip to content

Don't show gitlens context menu items in Copilot Chat codeblock editors #3443

@roblourens

Description

@roblourens

Description

  • Have a codeblock in a copilot chat response
  • Right click, see several Gitlens commands

This is a bit noisy, I'd prefer to help you hide them. You could use the inChat context key to target chat specifically. Or you could check the resourceScheme key for schemes that you know you can handle. Let me know if this isn't sufficient or if I can do anything to help!

GitLens Version

v2024.8.213 (pre-release)

VS Code Version

Version: 1.93.0-insider
Commit: 3b27f1f74bc09fe2e2068997fcd42768be44a4e3
Date: 2024-08-02T05:03:53.254Z
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.93.0-insider Chrome/124.0.6367.243 Electron/30.1.2 Safari/537.36

Git Version

No response

Logs, Screenshots, Screen Captures, etc

Image

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions