Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing stuck on existing android studio project when continue installed #3457

Open
3 tasks done
itissid opened this issue Dec 19, 2024 · 6 comments
Open
3 tasks done
Assignees
Labels
area:indexing Relates to embedding and indexing ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior priority:medium Indicates medium priority

Comments

@itissid
Copy link

itissid commented Dec 19, 2024

Before submitting your bug report

Relevant environment info

- OS: Mac Snonoma
- Continue version: 0.0.83
- IDE version: Android Studio Koala | 2024.1.1 Patch 2
- Model: N/A
- config.json:

Description

I started by installing the plug-in from the marketplace
I tried adding adding my OpenAI key using The console:
Screenshot 2024-12-19 at 12 21 10 PM

Then nothing happened. No ~/.continue/config.json was created. All I saw was

>> ls -l ~/.continue/
total 488
-rw-r--r--@ 1 sid  staff  115434 Dec 19 12:02 config_schema.json
-rw-r--r--@ 1 sid  staff  122996 Dec 19 12:02 continue_rc_schema.json
-rw-r--r--@ 1 sid  staff    2359 Dec 19 12:02 continue_tutorial.py

Then I proceeded to create a new new android project in my ID, and that immediately created the config(and more):

>> ls -l ~/.continue/
total 512
-rw-r--r--@ 1 sid  staff    1144 Dec 19 12:39 config.json
-rw-r--r--@ 1 sid  staff      73 Dec 19 12:39 config.ts
-rw-r--r--@ 1 sid  staff  115434 Dec 19 12:27 config_schema.json
-rw-r--r--@ 1 sid  staff  122996 Dec 19 12:27 continue_rc_schema.json
-rw-r--r--@ 1 sid  staff    2359 Dec 19 12:02 continue_tutorial.py
drwxr-xr-x@ 6 sid  staff     192 Dec 19 12:38 dev_data
drwxr-xr-x@ 8 sid  staff     256 Dec 19 12:39 index
drwxr-xr-x@ 3 sid  staff      96 Dec 19 12:38 logs
-rw-r--r--@ 1 sid  staff     105 Dec 19 12:39 package.json
drwxr-xr-x@ 3 sid  staff      96 Dec 19 12:39 sessions
drwxr-xr-x@ 3 sid  staff      96 Dec 19 12:39 types

Attached idea call log shows that it started working on the new project immediately 12:40 time mark
idea.log

To reproduce

No response

Log output

No response

@dosubot dosubot bot added area:indexing Relates to embedding and indexing ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior priority:medium Indicates medium priority labels Dec 19, 2024
@Patrick-Erichsen Patrick-Erichsen added area:indexing Relates to embedding and indexing and removed area:indexing Relates to embedding and indexing "needs-triage" labels Dec 19, 2024
@Patrick-Erichsen
Copy link
Collaborator

Original discord thread: https://discord.com/channels/1108621136150929458/1157400632534245386/1319353356141203621

@itissid
Copy link
Author

itissid commented Dec 19, 2024

To be clear I believe the indexing is either blocking any interaction with editing the config or, for instance, using it for tab completion or chat. It could also be crash looping(but I don't see that in the logs of idea or continue's logs). I may be wrong.

If its not a "bug" it could be framed as: "build a better onboarding experience". i.e. you could improve Jetbrains experience, for example, by asking the user to do teh config first and then do indexing. Alternatively having a button to start/pause the indexing could be useful, should it be a lengthy process.

@Patrick-Erichsen
Copy link
Collaborator

Good analysis but this is definitely a bug. Indexing can take some time but ideally under no circumstances should it be affecting the performance of the IDE. Android Studio can be a bit finnicky though so my hunch is that it's related to that particular IDE since we haven't had any similar reports on other IDEs.

@itissid
Copy link
Author

itissid commented Dec 23, 2024

@Patrick-Erichsen Thanks. Let me know if I can help in any other way to resolve this. I would like this to work for Android Studio. :)

@itissid
Copy link
Author

itissid commented Dec 23, 2024

@Patrick-Erichsen thanks for all the fixes in https://github.com/continuedev/continue/releases/tag/v0.0.84-jetbrains

From what I understand in the release, seems that JB needed some love relative to VSCode. But it may have created some UI glitching https://discordapp.com/channels/1108621136150929458/1131313996750917835/1320865748469551145

@Patrick-Erichsen
Copy link
Collaborator

Hey @itissid , thanks for the heads up here. I'm not seeing this on JetBrains so I think it must be another Android Studio specific bug. I assume you weren't having this issue on 0.0.83?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:indexing Relates to embedding and indexing ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior priority:medium Indicates medium priority
Projects
None yet
Development

No branches or pull requests

2 participants