-
Notifications
You must be signed in to change notification settings - Fork 0
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
Laravel Filestructure is too large » Custom Laravel Configuration #3
Comments
Hi @tronics You should be able to achieve this by leveraging the exclude_patterns array. You would need to set up every folder you did not want to include.
The included_patterns are an attempt to overwrite exclude patterns, for example; we do not want to include the folder I'd have to know more about your folder structure to advise how to drill down into /app, /public and /routes. I've personally not developed on a Laravel build. |
Hi, @atwellpub Thank you for explaining the exclude field and the include to override it. You see this list is quite heavy. Eventually I would exclude everything (wildcard possible) and include only /app and /router. Not sure if that would work. |
This config file should help your structure:
Excluded:
I'm adding |
Yes, I understand you are trying to find a general configuration suitable for all projects. With your suggested configuration the output is still too extensive to be able to post it to the LLM. Most developers need a perfect config for their specific project type. My focus is currently Laravel. I would argue the LLM has already knowledge what laravel is and only the individual code is enough to get good results. This seems like a good config for my goals - small size and custom code included. Really happy with this one. CONFIG
|
I'm not opposed, and would it would take time and help from the user base. But doable.
Thank you so much for providing a config that is working for you. Amazing work. I'll keep thinking about a way to bring project specific config defaults to the project. Right now I really appreciate the sharing of your progress and this will help provide a heads up for others looking to do that same. I'll also leave the issue open until some improvement makes its way into the plugin to handle different default environments. |
Hello,
Since we have now phpstorm support, which is very welcomed, working on projects that use the laravel framework is of course a main goal.
When including the filestructure of a laravel project in a project the resulting query it is already exhausting the request and we get a "message too long" error in chatGPT.
How to include only the /app, /public and /routes folders?
I looked into config and have not yet found the best way to do this.
Please advice.
Thank you!
The text was updated successfully, but these errors were encountered: