-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Tree-sitter tsx parser hangs sometimes, causing aider to hang #429
Comments
|
@MindsightsAI that issue is fixed. See #362. |
Is there a solution for this issue? |
Best thing is to use .aiderignore to ignore problematic files. Or some users report that linting/reformatting the file resolves the issue. |
Any obvious way to figure out what file is actually causing the issue? I've '.aiderignore'd quite a lot of files by now. B-) |
Yes, run with --verbose and see which file it's working on when it hangs. |
Please see these two related issues for relevant updates: |
User reports aider hangs when using a repo full of
.tsx
files. Using--no-git
removes the hang. Issue appears to be in the repo map code.https://discord.com/channels/1131200896827654144/1192136795077496852
Many reported issues with the tree-sitter tsx parser hanging...
tree-sitter/tree-sitter-typescript#265
Best solution is probably to isolate the parsing so that if it hangs on a single file that doesn't block all the other files in the repo from parsing or hang aider.
The text was updated successfully, but these errors were encountered: