forked from ultraworkers/claw-code-parity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.code-workspace
More file actions
executable file
·222 lines (211 loc) · 6.24 KB
/
Copy pathdefault.code-workspace
File metadata and controls
executable file
·222 lines (211 loc) · 6.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
{
"folders": [
{ "path": "." },
],
"settings": {
// Enable ligatures for Fira Code (arrow operators, comparison chains, etc.)
"editor.fontLigatures": true,
"editor.fontFamily": "'Fira Code'",
"terminal.integrated.fontFamily": "'Fira Code'",
// FIXME(Krey): This should automatically use javacsript, fix this upstream
"files.associations": {
"*.es": "javascript"
},
// Render all invisible characters (spaces, tabs, EOL) so whitespace
// issues are spotted immediately without running a linter
"editor.renderWhitespace": "all",
// Large scrollback so long build/test output is not truncated in the terminal
"terminal.integrated.scrollback": 20000,
// Enable nil LSP for Nix files (syntax checking, go-to-definition, etc.)
"nix.enableLanguageServer": true,
"nix.serverPath": "nil",
"nix.serverSettings": {
// settings for 'nil' Language Server
"nil": {
"formatting": {
// Use nixpkgs-fmt as the canonical formatter so all contributors
// produce consistent output regardless of their local config
"command": ["nixpkgs-fmt"]
}
}
},
"editor.wordWrap": "on", // Enforce word-wrapped coding style
"terminal.integrated.defaultProfile.linux": "bash", // Use bash by default
"terminal.integrated.env.linux": {
"EDITOR": "nano", // To open git things in codium
},
// Rainbow bracket pair colorization — colorize bracket pairs by nesting
// depth so deeply nested expressions are easier to parse at a glance.
// Uses VSCode's built-in engine (no extension required since VSCode 1.67).
// `bracketPairs: "active"` draws a guide only for the pair the cursor is
// inside, reducing visual noise while still giving orientation cues.
// `highlightActiveIndentation: false` avoids double-highlighting when
// indent-rainbow is also active.
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"editor.guides.bracketPairsHorizontal": "active",
"editor.guides.highlightActiveIndentation": false,
// Auto-fetch keeps the remote tracking branches up to date in the background
"git.autofetch": true,
// Code-eol — render end-of-line characters so CR/LF vs LF mismatches
// are immediately visible in the editor gutter
"code-eol.highlightExtraWhitespace": true,
"code-eol.newlineCharacter": "↵",
"code-eol.crlfCharacter": "↓",
// todo-tree — surface tagged comments (FIXME, TODO, DNM, …) in the
// sidebar so nothing gets lost in a large codebase. The regex below
// matches the RFC-2119-style tags with optional sub-tags and author,
// e.g. `FIXME-SECURITY(Krey):`.
"todo-tree.general.tags": [
"FIXME",
"TODO",
"DOCS",
"HACK",
"REVIEW",
"DNM", // Do Not Merge
"DNC", // Do Not Contribute
"DNR" // Do Not Release
],
"todo-tree.regex.regex": "($TAGS)((\\-.*|)\\(.*\\)):", // ($TAGS)((\\-.*|)\\(.*\\)):
"todo-tree.filtering.excludeGlobs": [
"**/node_modules",
"**/README.md"
],
"todo-tree.tree.groupedByTag": false,
"todo-tree.tree.groupedBySubTag": false,
"todo-tree.tree.flat": true,
// NOTE: Icons has to be valid octicon (https://primer.style/foundations/icons/)
"todo-tree.highlights.customHighlight": {
// FIXME(Krey): Test
"FIXME": {
"foreground": "#ff8000",
"icon": "tag",
"fontWeight": "bold"
},
// TODO(Krey): Test
"TODO": {
"foreground": "#00ffea",
"icon": "tasklist",
"fontWeight": "bold"
},
// DOCS(Krey): Test
"DOCS": {
"foreground": "#ffffff",
"background": "#2f00ff",
"icon": "repo",
"fontWeight": "bold"
},
// HACK(Krey): Test
"HACK": {
"foreground": "#ffffff",
"background": "#ff4d00",
"icon": "repo",
"fontWeight": "bold"
},
// REVIEW(Krey): Test
"REVIEW": {
"foreground": "#ffffff",
"background": "#b300ff",
"icon": "code-review",
"fontWeight": "bold"
},
// DNM(Krey): Test
"DNM": {
"background": "#ff0000",
"foreground": "#ffffff",
"icon": "shield-x",
"fontWeight": "bold"
},
// DNR(Krey): Test
"DNR": {
"background": "#ff0000",
"foreground": "#ffffff",
"icon": "shield-x",
"fontWeight": "bold"
},
// DNC(Krey): Test
"DNC": {
"background": "#fffb00",
"foreground": "#000000",
"icon": "shield-x",
"fontWeight": "bold"
}
},
// better-comments — color-code comment prefixes so critical annotations
// stand out from ordinary prose without requiring a separate tag system
"better-comments.tags": [
{
"tag": "!",
"color": "#FF0000",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": ":",
"color": "#FFAE00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "?",
"color": "#3498DB",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "//",
"color": "#474747",
"strikethrough": true,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "*",
"color": "#98C379",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
],
// dateTime.showSeconds — show seconds in the status-bar clock so
// timestamps in log output can be correlated precisely
"dateTime.showSeconds": true,
// GitLens
"gitlens.plusFeatures.enabled": false, // Disable the annoying pop-ups
"gitlens.launchpad.indicator.enabled": false, // Disable launchpad indicator as we are not using that functionality
"gitlens.statusBar.enabled": false, // Do not bloat the status bar
"gitlens.statusBar.pullRequests.enabled": false,
"nixEnvSelector.nixFile": "${workspaceFolder}/flake.nix",
},
"extensions": {
"recommendations": [
"jnoortheen.nix-ide",
"oderwat.indent-rainbow",
"arrterian.nix-env-selector",
"medo64.render-crlf",
"aaron-bond.better-comments",
"mkhl.direnv",
"editorconfig.editorconfig",
"pkief.material-icon-theme",
"markwylde.vscode-filesize",
"plorefice.devicetree",
"timonwong.shellcheck",
"eamodio.gitlens",
"anwar.resourcemonitor",
"gruntfuggly.todo-tree"
]
}
}