Autocomplete for class configuration
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 34
- Forks
- 9
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 1
Description
Hi,
Yii2 has very useful plugin for best/most popular PHP IDE - PhpStorm, https://plugins.jetbrains.com/plugin/9388-yii2-support
Any chance to provide one for Yii3 to have autocomplete in config files - to set class properties, __construnct() etc. ?
Main goal is to type faster, do less typos and got mistakes highlighted.
Examples:
<?php
return [
'components' => [
'db' => [
'class' => \my\Db::class,
'name' => 'foo', // <-- autocomplete
'password' => 'boo', // <-- autocomplete
],
],
];
return [
LoggerInterface::class => [
'class' => Logger::class,
'__construct()' => [ // <-- autocomplete
'targets' => ReferencesArray::from([ // <-- autocomplete
FileTarget::class,
]),
],
],
];
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the configuration examples in the issue and the linked Yii2 Support PhpStorm plugin to understand the requested autocomplete behavior. Define the Yii3 configuration cases to support, including class properties, constructor arguments, and nested references, and consider how completion and typo highlighting would be delivered for PhpStorm.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100