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

Injecting php version of the default interpreter from PHPSTorm's project setting #721

Open
popnikos opened this issue Oct 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@popnikos
Copy link

popnikos commented Oct 2, 2024

Describe the need of your request

With PHPStorm, the plugin does not provide context of the specific php / phpunit versions used into a project.
The chat answers may contains code with unexisting method for a specific project, and can make tests not running because the version of phpunit is not detected.

Proposed solution

Add an option to specify php version from project setting while starting a new chat .
also add an option to specify phpunit version from project settings.

At least, add a template variable such as settings.php.language_level or settings.Test Frameworks.PHPunit.version (not sure this informations are available or f names are those ones.
Also take options from remote interpreter.

Additional context

This will help code suggestions and autocomplete to be reliable with current project settings.

@popnikos popnikos added the enhancement New feature or request label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant