commit 15aa92d7c935109f44cc568ef2f69c88f06fc094 Author: Steven Hobs <47906512+stevenhobs@users.noreply.github.com> Date: Mon Aug 18 10:24:31 2025 +0800 init diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..7ba84c7 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "editor.tabSize": 2, +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..adb6e33 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# VSCode 配置文件 + +## 配置中需要的 + +插件扩展安装: + +- Material Icon Theme + +- Error Lens + +- Prettier + +高级字形字体: + +- CaskaydiaCove Nerd Font, 直链下载 +- MiSans 小米开源字体,直链下载 \ No newline at end of file diff --git a/user.settings.jsonc b/user.settings.jsonc new file mode 100644 index 0000000..9c72087 --- /dev/null +++ b/user.settings.jsonc @@ -0,0 +1,104 @@ +{ + /* 全局定义属性项 */ + "workbench.settings.applyToAllProfiles": [ + /* 窗口 */ + "window.menuBarVisibility", + "window.commandCenter", + "window.density.editorTabHeight", + "window.enableMenuBarMnemonics", + /* 编辑器 */ + "editor.defaultFormatter", //文件格式化 + "editor.fontFamily", + "editor.renderControlCharacters", + "editor.fontLigatures", + "editor.suggestSelection", + "editor.cursorSmoothCaretAnimation", + "editor.cursorBlinking", + "editor.smoothScrolling", + "editor.linkedEditing", + "editor.matchBrackets", + "editor.minimap.enabled", + "editor.fontSize", + /* 工作台 */ + "workbench.colorTheme", + "workbench.iconTheme", + "workbench.enableExperiments", + "workbench.activityBar.location", + "workbench.editorAssociations", + "workbench.editor.enablePreview", + "workbench.editor.tabSizing", + "workbench.editor.empty.hint", + "workbench.startupEditor", + /* 终端 */ + "terminal.integrated.cursorBlinking", + "terminal.integrated.cursorStyle", + "terminal.integrated.cursorWidth", + "terminal.integrated.fontSize", + /* 文件 */ + "files.eol", + "explorer.confirmDelete", + "material-icon-theme.hidesExplorerArrows", + "material-icon-theme.activeIconPack", + /* 其他 */ + "debug.console.fontSize", + "security.workspace.trust.enabled", + "chat.commandCenter.enabled", + "extensions.ignoreRecommendations", + "errorLens.enabledDiagnosticLevels" + /* 全局自定义 */ + ], + + /* 窗口 */ + "window.menuBarVisibility": "toggle", // 菜单栏显示 + "window.commandCenter": false, // 命令搜索框 + "window.density.editorTabHeight": "compact", // 编辑器标签高度 + "window.enableMenuBarMnemonics": false, // Alt快捷菜单顶栏 + + /* 编辑器 */ + "editor.fontFamily": "'CaskaydiaCove Nerd Font', 'Cascadia Code', Consolas, MiSans, 'Microsoft YaHei'", // 字体 + "editor.renderControlCharacters": false, // 控制字符 + "editor.fontLigatures": true, // 字体连字 + "editor.suggestSelection": "first", // 自动补全 + "editor.cursorSmoothCaretAnimation": "on", // 光标动画 + "editor.cursorBlinking": "smooth", // 光标闪烁 + "editor.smoothScrolling": true, // 平滑滚动 + "editor.linkedEditing": true, // 链接编辑 + "editor.matchBrackets": "never", // 括号匹配 + "editor.minimap.enabled": false, // 文本缩略图 + "editor.fontSize": 12, // 字体大小 + + /* 工作台 */ + "workbench.colorTheme": "Default Light Modern", // 主题 + "workbench.iconTheme": "material-icon-theme", // 文件图标主题 + "workbench.activityBar.location": "top", // 活动栏布局 + "workbench.enableExperiments": false, // 实验 + "workbench.editor.enablePreview": false, // 预览 + "workbench.editor.tabSizing": "shrink", // 标签大小, + "workbench.editor.empty.hint": "hidden", + "workbench.startupEditor": "none", + "workbench.editorAssociations": { + "*.md": "vscode.markdown.preview.editor" // markdown 默认预览 + }, + + /* 终端 */ + "terminal.integrated.cursorBlinking": true, // 光标闪烁 + "terminal.integrated.cursorStyle": "line", // 光标样式 + "terminal.integrated.cursorWidth": 2, // 光标宽度 + "terminal.integrated.fontSize": 11, // 字体大小 + + /* 文件 */ + "files.eol": "\n", // 换行符 + "explorer.confirmDelete": false, // 文件删除确认 + "material-icon-theme.hidesExplorerArrows": true, // 隐藏文件夹箭头 + "material-icon-theme.activeIconPack": "react_redux", // 图标包 + + /* 其他 */ + "debug.console.fontSize": 10, // 调试控制台字体大小 + "security.workspace.trust.enabled": false, // 信任工作区 + "chat.commandCenter.enabled": false, + "extensions.ignoreRecommendations": true, // 忽略扩展推荐 + "errorLens.enabledDiagnosticLevels": ["error"], // 尾部提示信息类型 + + /*-----------------------自定义-------------------- */ + "breadcrumbs.enabled": false +}