continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.37k stars 1.68k forks source link

Unable to attach files from multiple projects in JetBrains IDE #2315

Open nomarek opened 2 months ago

nomarek commented 2 months ago

Before submitting your bug report

Relevant environment info

- OS: macOS 15.0
- Continue: v0.0.68
- IDE: PyCharm 2024.2.1

Description

When I have multiple projects open in JetBrains IDE (PyCharm in my case), I can only attach files from the first project/folder. The suggestions do not show files from the other projects.

image

To reproduce

  1. In Jetbrains IDE click File > Open and select a folder with another project.
  2. Click Attach in the pop-up window.
  3. Open Continue and click Add Context.
  4. Select Files and try to search for files from the second project.
  5. Files from the second project do not appear in the search results.

Log output

No response

Patrick-Erichsen commented 2 months ago

Hi @nomarek , we've had some other issues recently with multiple workspaces in JetBrains not being picked up. Assuming this is related so I added it to the main issue here: https://github.com/continuedev/continue/issues/2324