1.language injection
在php需要编辑html的地方先输入一个完整的p标签 然后使用alt+enter可以弹出edit html fragment点击就可以在下面的框里面编辑html语言了。其它语言也是可以的
2.live template
代码片段,选中php设置关键字和使用的语言
3.File | Settings | Editor | File and Code Templates可以设置各种语言的模板代码;
1.language injection
在php需要编辑html的地方先输入一个完整的p标签 然后使用alt+enter可以弹出edit html fragment点击就可以在下面的框里面编辑html语言了。其它语言也是可以的
2.live template
代码片段,选中php设置关键字和使用的语言
3.File | Settings | Editor | File and Code Templates可以设置各种语言的模板代码;