Open
Description
Before submitting your bug report
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: mac OS Sonoma (but version independent)
- Continue version: 1.0.18
- IDE version: IntelliJ IDEA 2024.3.4.1 (Ultimate Edition)
- Model: N/A
- config: N/A
Description
@currentfile
and "Add selected code to context" work fine with project local files.
When using files from external libraries (i.e. from Source JARs), "Add selected code to context" , nor does @currentfile
.
This is presumably down to intelliJ's handling of source JARs, and not returning the expected file handler for getCurrentFile(), as it would do with a non-JAR project local file
To reproduce
- Open class file from JAR library
- Right Click -> "Add selected code to context" -OR-
@currentfile
annotation - Code not added to chat pane, either in text field as a code snippet or as "provided context"
- Response notes that no context was provided
Log output
No log entries
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo