Live template with filename and line number

Hi, I would like to create a hotkey / live template that outputs the following:

 

console.log('App.js:12', )

 

App.js:12 would be the actual file name and line number the cursor is on. Can Phpstorm be setup to do that part?

0

请先登录再写评论。