diff --git a/ide.json b/ide.json new file mode 100644 index 00000000..a4b4d9c9 --- /dev/null +++ b/ide.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://laravel-ide.com/schema/laravel-ide-v2.json", + "completions": [ + { + "complete": "classFields", + "options": { + "fieldsFilter": { + "fetch": "own", + "modifier": ["public"] + } + }, + "condition": [ + { + "methodNames": ["from", "optional"], + "classFqn": ["\\Spatie\\LaravelData\\Concerns\\BaseData"], + "place": "arrayKey" + }, + { + "methodNames": ["collection"], + "classFqn": ["\\Spatie\\LaravelData\\Concerns\\BaseData"], + "place": "arrayInArrayKey" + } + ] + } + ] +}