From c5b38cd03a0640ea03838a2c6a9ba4b5d734c300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E5=9B=BD=E7=A5=A5?= Date: Mon, 28 Sep 2026 05:52:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore(devtool):=20=E6=B7=BB=E5=8A=A0=20IDE?= =?UTF-8?q?=20=E9=85=8D=E7=BD=AE=E5=B9=B6=E4=BF=AE=E6=AD=A3=20process=20?= =?UTF-8?q?=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/autoload/devtool.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/config/autoload/devtool.php b/config/autoload/devtool.php index 50afb044..f6d9b665 100644 --- a/config/autoload/devtool.php +++ b/config/autoload/devtool.php @@ -10,6 +10,13 @@ * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ return [ + /** + * Supported IDEs: "sublime", "textmate", "cursor", "emacs", "macvim", "phpstorm", "idea", + * "vscode", "vscode-insiders", "vscode-remote", "vscode-insiders-remote", + * "atom", "nova", "netbeans", "xdebug" + */ + 'ide' => env('DEVTOOL_IDE', ''), + 'generator' => [ 'amqp' => [ 'consumer' => [ @@ -37,8 +44,8 @@ 'middleware' => [ 'namespace' => 'App\Middleware', ], - 'Process' => [ - 'namespace' => 'App\Processes', + 'process' => [ + 'namespace' => 'App\Process', ], ], ]; From 49e3859e255678519982c565f3cb2c9aff9de175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E5=9B=BD=E7=A5=A5?= Date: Mon, 28 Sep 2026 05:59:10 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore(devtool):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=B3=A8=E9=87=8A=E5=92=8C?= =?UTF-8?q?=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/autoload/devtool.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/autoload/devtool.php b/config/autoload/devtool.php index f6d9b665..d326e31c 100644 --- a/config/autoload/devtool.php +++ b/config/autoload/devtool.php @@ -9,8 +9,10 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ +use function Hyperf\Support\env; + return [ - /** + /* * Supported IDEs: "sublime", "textmate", "cursor", "emacs", "macvim", "phpstorm", "idea", * "vscode", "vscode-insiders", "vscode-remote", "vscode-insiders-remote", * "atom", "nova", "netbeans", "xdebug"