-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.json
213 lines (213 loc) · 6.45 KB
/
settings.json
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
{
// meta stuff
"workbench.startupEditor": "none",
"editor.accessibilitySupport": "off",
"editor.experimental.asyncTokenization": true,
// text editing stuff
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.linkedEditing": true,
"editor.inlineSuggest.enabled": true,
"editor.guides.bracketPairs": true,
"editor.tabSize": 2,
// ui stuff
// font
"editor.fontFamily": "Geist Mono, Berkeley Mono, monospace",
"editor.fontSize": 14,
"editor.lineHeight": 1.42857, // makes font size 14 have line height of ~20px
"apc.font.family": "Geist Mono", // apply font to ALL the UI
"terminal.integrated.fontFamily": "FantasqueSansMono NF", // except terminal applies a different font for compatibility with oh my posh
"editor.fontLigatures": true,
// cursor
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "on",
// window
// title bar
"window.title": "${dirty}${activeEditorShort}",
"editor.smoothScrolling": true,
"window.zoomLevel": 1,
// top bar
// "workbench.editor.showTabs": false, // P R A C T I C E
"breadcrumbs.enabled": false,
"window.commandCenter": false, // hides those little squares on the top right of the window
"workbench.editor.editorActionsLocation": "hidden",
"workbench.editor.customLabels.patterns": {
// custom labels for next.js apps
"**/app/**/page.tsx": "${dirname} - page.tsx",
"**/app/**/layout.tsx": "${dirname} - layout.tsx",
},
// minimap
"editor.minimap.enabled": false, // thinking about it
"editor.minimap.renderCharacters": false, // make minimap blockish (low level of detail)
"editor.hideCursorInOverviewRuler": true, // don't highlight current line in scrollbar
"editor.minimap.autohide": true, // shows minimap only on hover
// sidebar
"workbench.list.smoothScrolling": true,
"workbench.activityBar.location": "bottom",
"workbench.sideBar.location": "right", // puts sidebar on the right, less disruptive (doesn't shift code if text wrap is disabled) when opening with cmd+b
// bottom bar
"workbench.statusBar.visible": true,
// editor
"editor.stickyScroll.enabled": true, // keep block name fixed at top when scrolling
"gitlens.mode.active": "zen", // toggle with command palette, zen mode hides gitlens stuff for when you don't need it
"editor.wordWrap": "on", // wrap text instead of scrolling horizontally
// Theme
"workbench.iconTheme": "chalice-icon-theme",
"workbench.colorTheme": "Vesper",
// overides vesper theme colors start
"workbench.colorCustomizations": {
"editorGutter.addedBackground": "#A0A0A0",
"editorGutter.deletedBackground": "#A0A0A0",
"editorGutter.modifiedBackground": "#A0A0A0"
},
"editor.tokenColorCustomizations": {
"textMateRules": [
// remove peppermint flavor
{
"name": "String, Symbols, Inherited Class",
"scope": [
"string",
"constant.other.symbol",
"constant.other.key",
"meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js"
],
"settings": {
"foreground": "#A0A0A0"
}
},
{
"name": "CSS ID's",
"scope": [
"source.sass keyword.control",
"meta.attribute-selector.scss"
],
"settings": {
"foreground": "#ffffff"
}
},
{
"name": "Inserted",
"scope": [
"markup.inserted"
],
"settings": {
"foreground": "#ffffff"
}
}
]
},
// overrides vesper theme colors end
// explorer
"explorer.confirmDelete": false,
// terminal
"terminal.integrated.smoothScrolling": true,
// git stuff
"git.openRepositoryInParentFolders": "always",
"git.autofetch": true,
"git.confirmNoVerifyCommit": false,
"git.confirmSync": false,
"git.ignoreMissingGitWarning": true,
"gitlens.gitCommands.skipConfirmations": [
"fetch:command",
"stash-push:command",
"switch:command",
"push:command"
],
"gitlens.hovers.currentLine.over": "line",
// js tooling stuff
"typescript.preferences.importModuleSpecifier": "non-relative", // prefer aliases when importing
"typescript.referencesCodeLens.enabled": true,
"typescript.updateImportsOnFileMove.enabled": "always",
"javascript.updateImportsOnFileMove.enabled": "always",
"eslint.codeActionsOnSave.mode": "all", // run eslint autofix on save
// eslint
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"eslint.options": {
"extensions": [
".html",
".css",
".json",
".jsonc",
".js",
".jsx",
".mdx",
".ts",
".tsx"
]
},
"eslint.validate": [
"mdx",
"html",
"css",
"json",
"jsonc",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
// prettier
"prettier.requireConfig": true,
"tailwindCSS.experimental.classRegex": [
// enables tailwind autocomplete for specified functions
[
"cva\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]"
],
[
"cn\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]"
],
[
"cx\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]"
]
],
"emmet.includeLanguages": {
"javascript": "html",
"astro": "html",
"typescript": "html"
},
"files.associations": {
"*.css": "css",
"*.html": "html",
"*.json": "json",
"*.jsonc": "jsonc"
},
// json
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
},
// html
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features",
},
// css
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features",
},
// github copilot
"github.copilot.enable": {
"*": false,
"plaintext": true,
"markdown": true,
"scminput": false,
"yaml": false
},
"github.copilot.editor.enableAutoCompletions": true,
"editor.quickSuggestionsDelay": 225,
"workbench.layoutControl.enabled": false,
"tailwind-fold.foldedTextBackgroundColor": "rgba(255, 199, 135, 0.045)",
"tailwind-fold.foldedTextColor": "rgba(255, 199, 135, .65)",
"tailwind-fold.foldLengthThreshold": 50,
"tailwind-fold.unfoldIfLineSelected": true,
"tailwind-fold.showTailwindImage": false,
"diffEditor.ignoreTrimWhitespace": false,
// extensions
// live server
"livePreview.autoRefreshPreview": "On All Changes in Editor",
"window.menuBarVisibility": "compact",
"tailwind-fold.autoFold": false,
}