phpstorm怎么生成特殊的注释样式
本文介绍了phpstorm怎么生成特殊的注释样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
这种的是怎么生成的,有什么工具么?
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
解决方案
我是在 Editor/Live Templates/PHP
添加了一个新的 Live Template。
Template Text 如下所示:
/*
|--------------------------------------------------------------------------
| $NAME$
|--------------------------------------------------------------------------
|
| $END$
|
|
*/
这篇关于phpstorm怎么生成特殊的注释样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文