Skip to content

Commit fb0443c

Browse files
committed
chore: 添加 .gitattributes 和 .vscode/settings.json 配置文件
1 parent 7209eef commit fb0443c

2 files changed

Lines changed: 175 additions & 0 deletions

File tree

.gitattributes

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/gradlew text eol=lf
2+
*.sh text eol=lf
3+
*.sql text eol=lf
4+
*.kt text eol=lf
5+
*.kts text eol=lf
6+
*.java text eol=lf
7+
*.xml text eol=lf
8+
*.cmd text eol=lf
9+
10+
*.bat text eol=crlf
11+
*.cmd text eol=crlf
12+
*.jar binary
13+
* text=auto eol=lf

.vscode/settings.json

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
{
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"typescript.enablePromptUseWorkspaceTsdk": true,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll": "never",
6+
"source.organizeImports": "never",
7+
"source.sortMembers": "never"
8+
},
9+
"files.autoSave": "afterDelay",
10+
"files.autoSaveDelay": 500,
11+
"editor.formatOnSave": false,
12+
"[markdown]": {
13+
"editor.wordWrap": "off"
14+
},
15+
"explorer.fileNesting.enabled": true,
16+
"explorer.fileNesting.expand": false,
17+
"explorer.fileNesting.patterns": {
18+
"index.ts": "lib.rs, main.rs",
19+
"manifest.json": "pages.json, shime-uni.d.ts, uni.scss",
20+
"main.ts": "env.d.ts",
21+
".env.example": ".env*",
22+
"*.ts": "$(capture).js, $(capture).d.ts, $(capture).*.ts, $(capture).*.js",
23+
"*.src.mdx": "$(capture).mdx",
24+
"README.md": "CODE_OF_CONDUCT.md, SECURITY.md, LICENSE, .gitconfig, .editorconfig, .gitmodules, .gitattributes, *.code-workspace",
25+
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, pnpm-workspace.yaml, .node-version, turbo.json, .npmignore, .npmrc",
26+
".env": ".env.local, .env.*.local",
27+
"tsconfig.json": "tsconfig.*.json, env.d.ts, tsconfig.*.tsbuildinfo, tsconfig.tsbuildinfo",
28+
"AGENTS.md": "GEMINI.md, WARP.md, CLAUDE.md",
29+
".gitignore": "nul, .stylelintignore, .stylelintcache, .eslintcache, .codeiumignore, .traeignore, .codeignore,.dockerignore, .cursorignore, .kiroignore, .qoderignore, .warpindexignore, .aiignore",
30+
"tsdown.config.ts": "vitest.config.ts, vite.config.ts, eslint.config.ts",
31+
"vite.config.ts": "index.html, vitest.config.ts",
32+
"Cargo.toml": "Cargo.lock, tauri.conf.json, rustfmt.toml",
33+
"next.config.ts": "vitest.config.ts, vite.config.ts, eslint.config.ts, postcss.config.mjs, next-env.d.ts, components.json"
34+
},
35+
"workbench.sideBar.location": "left",
36+
"workbench.editor.openPositioning": "left",
37+
"workbench.editor.openSideBySideDirection": "right",
38+
"workbench.editor.limit.enabled": true,
39+
"workbench.editor.limit.value": 2,
40+
"workbench.editor.limit.perEditorGroup": true,
41+
"diffEditor.renderSideBySide": false,
42+
"diffEditor.hideUnchangedRegions.enabled": true,
43+
"scm.defaultViewMode": "tree",
44+
"editor.rulers": [
45+
2,
46+
4,
47+
80,
48+
160
49+
],
50+
"editor.fontFamily": "JetBrains Mono",
51+
"editor.fontLigatures": true,
52+
"kiroAgent.notifications.agent.failure": true,
53+
"kiroAgent.enableDebugLogs": true,
54+
"kiroAgent.notifications.agent.success": true,
55+
"kiroAgent.configureMCP": "Enabled",
56+
"scss.validate": false,
57+
"css.validate": false,
58+
"accessibility.signals.lineHasBreakpoint": {
59+
"sound": "on"
60+
},
61+
"accessibility.signals.lineHasError": {
62+
"sound": "on"
63+
},
64+
"accessibility.signals.lineHasFoldedArea": {
65+
"sound": "on"
66+
},
67+
"accessibility.signals.lineHasInlineSuggestion": {
68+
"sound": "on"
69+
},
70+
"accessibility.signals.lineHasWarning": {
71+
"sound": "on"
72+
},
73+
"accessibility.signals.noInlayHints": {
74+
"sound": "on"
75+
},
76+
"accessibility.signals.notebookCellCompleted": {
77+
"sound": "on"
78+
},
79+
"accessibility.signals.notebookCellFailed": {
80+
"sound": "on"
81+
},
82+
"accessibility.signals.onDebugBreak": {
83+
"sound": "on"
84+
},
85+
"accessibility.signals.taskCompleted": {
86+
"sound": "on"
87+
},
88+
"accessibility.signals.taskFailed": {
89+
"sound": "on"
90+
},
91+
"accessibility.signals.terminalBell": {
92+
"sound": "on"
93+
},
94+
"accessibility.signals.terminalCommandFailed": {
95+
"sound": "on"
96+
},
97+
"accessibility.signals.terminalCommandSucceeded": {
98+
"sound": "on"
99+
},
100+
"accessibility.signals.terminalQuickFix": {
101+
"sound": "on"
102+
},
103+
"accessibility.signals.diffLineDeleted": {
104+
"sound": "on"
105+
},
106+
"accessibility.signals.diffLineInserted": {
107+
"sound": "on"
108+
},
109+
"accessibility.signals.diffLineModified": {
110+
"sound": "on"
111+
},
112+
"accessibility.signals.positionHasError": {
113+
"sound": "on"
114+
},
115+
"accessibility.signals.positionHasWarning": {
116+
"sound": "on"
117+
},
118+
"accessibility.signals.save": {
119+
"sound": "always"
120+
},
121+
"accessibility.signals.format": {
122+
"sound": "always"
123+
},
124+
"accessibility.signals.voiceRecordingStarted": {
125+
"sound": "on"
126+
},
127+
"accessibility.signals.voiceRecordingStopped": {
128+
"sound": "on"
129+
},
130+
"accessibility.signals.clear": {
131+
"sound": "on"
132+
},
133+
"accessibility.signals.progress": {
134+
"sound": "on"
135+
},
136+
/* "files.exclude": {
137+
".factory": true,
138+
".claude": true,
139+
".skills": true,
140+
".trae": true,
141+
".opencode": true,
142+
".qoder": true,
143+
".kiro": true,
144+
".cursor": true,
145+
".idea": true,
146+
".agent": true,
147+
".windsurf": true,
148+
".aiassistant": true
149+
}, */
150+
"kiroAgent.experiments": {
151+
152+
},
153+
"editor.smoothScrolling": true,
154+
"workbench.list.smoothScrolling": true,
155+
"terminal.integrated.smoothScrolling": true,
156+
"terminal.integrated.profiles.windows": {
157+
"WSL": {
158+
"path": "C:\\WINDOWS\\System32\\wsl.exe"
159+
}
160+
},
161+
"terminal.integrated.defaultProfile.windows": "WSL"
162+
}

0 commit comments

Comments
 (0)