Skip to content

feat: add action to send selected Problems Tool Window entry to Chat …#1228

Open
SunlitDev wants to merge 1 commit into
carlrobertoh:masterfrom
SunlitDev:feat/add-problem-to-context
Open

feat: add action to send selected Problems Tool Window entry to Chat …#1228
SunlitDev wants to merge 1 commit into
carlrobertoh:masterfrom
SunlitDev:feat/add-problem-to-context

Conversation

@SunlitDev

Copy link
Copy Markdown

…context

Registers ProxyAI.AddProblemToContext with no default shortcut so users can bind it via Settings -> Keymap. Introduces SingleDiagnosticTagDetails plus its processor, exposes ChatToolWindowTabPanel#addContextTag, and updates PsiStructureRepository's exhaustive when branches.

…context

Registers ProxyAI.AddProblemToContext with no default shortcut so users can
bind it via Settings -> Keymap. Introduces SingleDiagnosticTagDetails plus
its processor, exposes ChatToolWindowTabPanel#addContextTag, and updates
PsiStructureRepository's exhaustive when branches.
@SunlitDev

Copy link
Copy Markdown
Author

Drafted with significant AI assistance. I reviewed the design, verified
the build, and exercised the happy path in a running IDE (selecting an
error in the Problems tool window → shortcut → tag appears in Chat with
the expected diagnostic in the prompt). The two fallback paths in
extractProblemContext (OpenFileDescriptor / VIRTUAL_FILE only) haven't
been exercised end-to-end. Happy to revisit the reflection-vs-direct-import
choice or trim the fallbacks if preferred.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant