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.6k stars 1.71k forks source link

[CON-261] Only first module detected in JetBrains editors #2056

Open sestinj opened 3 months ago

sestinj commented 3 months ago

Before submitting your bug report

Relevant environment info

- OS:*
- Continue:*
- IDE:JetBrains

Description

When there are multiple modules, or microservices in a workspace in a JetBrains IDE, Continue is only picking up on one of them. This is coming from the array that we return for getWorkspaceDirs, but the root is probably our use of project.basePath here: https://github.com/continuedev/continue/blob/dev/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/activities/ContinuePluginStartupActivity.kt#L120

To reproduce

No response

Log output

No response

CON-261

mphilippnv commented 2 months ago

Can confirm this is a problem in Pycharm 2024.2.1 with Continue 0.0.64. I had posted in Discord about it but figured I'd post here just for visibility. Thanks!