plugin
plugin copied to clipboard
[Feature Request]: Autocomplete for Column Names in Migration Indexes
Feature Description
I would appreciate an autocomplete feature in Laravel Idea for writing migrations and creating indexes.
Currently, when I write a code like:
Schema::create('carts', function (Blueprint $table) {
$table->string('column1');
$table->string('column2');
$table->index(['column1', 'column2']);
}
I have to manually type column1 and column2 for $table->index(['column1', 'column2']).
It would be helpful if the IDE could suggest these columns based on the code above or the current database schema.