Open ferdousanam opened 2 years ago
In Laravel Idea PhpStorm plugin there is a settings for custom view functions.
Reference: https://laravel-idea.com/docs/ide_json
customView
{ "completion": { "view": [ { "functions": ["customView"], "parameters": [1] } ] }, "view": { "paths": [ { "path": "resources/views" }, { "path": "resources/views/custom-view" } ] } }
For example, I have a helper function customView which is:
function customView($view = null, $data = [], $mergeData = []) { return view('custom-view.' . $view, $data, $mergeData); }
In Laravel Idea PhpStorm plugin there is a settings for custom view functions.
Reference: https://laravel-idea.com/docs/ide_json
customView
functionFor example, I have a helper function
customView
which is: