- 打开 vscode
- 点击 设置
- 点击 首选项
- 点击 用户代码片段
- 选中文件进行编辑
{
"#ifn": {
"prefix": "#ifn",
"body": [
"#ifndef ____H__",
"#define ____H__",
"#ifdef __cplusplus",
<
{
"#ifn": {
"prefix": "#ifn",
"body": [
"#ifndef ____H__",
"#define ____H__",
"#ifdef __cplusplus",
<