项目开发中经常使用console.log来测试,那在vscode中如何快速输出呢?

File-->Preferences-->User Snippets中找到相关代码,此处代码已被注释,将注释代码取消后保存即可。

vscode快速输出console.log

 

相关文章: