-
Notifications
You must be signed in to change notification settings - Fork 46
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
[BUG] Exception thrown in PHPStorm with 'Use .gitignore' enabled #554
Comments
Can you try adding a .gitignore for clarifying the issue? Thanks for reporting this. |
I'm unable to reproduce it, any chance you can replicate it with a small project that you could share with me? |
The error seems to happen inconsistently. Did manage to replicate it again in a sample project. Attaching the project code. Enabled the 'Use .gitignore' toggle and tried the 'Add Directory to Prompt Context' action on the project root directory and it threw the following error:
It's possible it only happens with this action on the project root. The other actions on project root - For instance, Copy Directory to Clipboard - seem to not work inconsistently but don't throw this error. |
Because it's low priority I will freeze my investigation for now. Maybe others will pick this up. |
Thanks. Apologies for only skimming the README, but if there's a plugin debug guide you can point me to, I can try to debug it myself, and maybe suggest a patch. |
In Settings > 'Scan & Copy Project' > with
Use .gitignore
enabled following error is thrown for specific 'Add to prompt context' actions and 'Calc Tokens' does not work.Error goes away on disabling the
Use .gitignore
checkbox.Possibly a minor issue? Suspected it could be due to legacy nature of PHP codebase, but could just be due to missing .gitignore file?
The text was updated successfully, but these errors were encountered: