在Laravel中,我看到了很多这样的预先评论:
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
有人知道那个插件调用是什么吗?我想把它安装在我的IDE中。
这类评论没有这样的插件,您需要在编辑器中为此添加一个code snippet
,并在需要添加该评论时为该片段指定一些快捷方式,然后您可以使用该快捷方式插入评论。
如果您的IDE支持代码片段或模板,您可以向其中添加自己的模板。
在PHPStorm中,它称为Live Templates