From 66b6df926589fc382958a4064d7775c9e90a5199 Mon Sep 17 00:00:00 2001 From: aguingand Date: Wed, 19 Feb 2025 18:02:36 +0100 Subject: [PATCH] Enable autocompletion of `Route::isLocalized()` --- ide.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ide.json diff --git a/ide.json b/ide.json new file mode 100644 index 0000000..7fc1c1e --- /dev/null +++ b/ide.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://laravel-ide.com/schema/laravel-ide-v2.json", + "completions": [ + { + "complete": "routeName", + "condition": [ + { + "classFqn": ["Illuminate\\Routing\\Router"], + "methodNames": ["isLocalized"], + "parameters": [1] + }, + { + "classFqn": ["Illuminate\\Routing\\Router"], + "methodNames": ["hasLocalized"], + "parameters": [1] + } + ] + } + ] +}