This repository has been archived by the owner on Jan 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
82 lines (66 loc) · 3.1 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
/*
To install this file under Windows 10, do the following:
1. Clone <https://github.com/scy/dotfiles.git> to "%USERPROFILE%\dotfiles".
2. Create "%APPDATA%\Code - Insiders\User", if it doesn't exist.
3. Remove "%APPDATA%\Code - Insiders\User\settings.json", if it exists.
4. Start cmd.exe as administrator.
5. Run: cd "%APPDATA%\Code - Insiders\User" && mklink settings.json ..\..\..\..\dotfiles\.config\Code\User\settings.json
*/
{
// Show breadcrumbs below the tab bar, telling you where you are in the code.
"breadcrumbs.enabled": true,
// This has a strangely satisfying 80s feel to it.
"editor.cursorBlinking": "smooth",
// I currently prefer Source Code Pro, and it comes with the Adobe stuff on my machine anyway.
"editor.fontFamily": "Source Code Pro, Consolas, 'Courier New', monospace",
// Make the minimap more abstract, and always show the displayed section (not just when hovering with the mouse).
"editor.minimap.renderCharacters": false,
"editor.minimap.maxColumn": 120,
"editor.minimap.showSlider": "always",
// Show whitespace characters, but not single spaces between words.
"editor.renderWhitespace": "boundary",
// Display vertical rulers after 80 and 120 characters.
"editor.rulers": [80, 120],
// Scroll a bit smoother to help your eyes keep track.
"editor.smoothScrolling": true,
// Hide "Open Editors" section in the explorer. You can see it from the tab bar anyway.
"explorer.openEditors.visible": 0,
// Glob -> File Type associations.
"files.associations": {
"Saltfile": "yaml",
"*.drawio": "xml",
"*.zcml": "xml"
},
// Files should (almost) always use LF line endings, not CRLF, not even under Windows.
"files.eol": "\n",
// Files should always end in a newline, but not more than one.
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
// Also, lines should _usually_ not end with whitespace.
"files.trimTrailingWhitespace": true,
// File paths not to watch, e.g. because they get created and deleted quickly which can cause
// “permission denied” errors.
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/target/*/incremental/**": true, // Rust’s incremental compilation.
},
// Run "git fetch" periodically. Not sure whether I want to keep this.
"git.autofetch": true,
// Just show the project and file name. I can see from the icon that this is VS Code.
// Starting with the project name allows me to distinguish multiple Code instances in the task bar more easily.
"window.title": "${rootName}${separator}${dirty}${activeEditorShort}",
// Color theme: I'm trying to use One Dark Pro everywhere.
// <https://github.com/scy/one-dark-pro-everywhere>
"workbench.colorTheme": "One Dark Pro",
// This apparently sends keystrokes to Microsoft when searching in the settings. Don't need it.
"workbench.settings.enableNaturalLanguageSearch": false,
// Filetype-specific settings.
"[markdown]": {
// (Soft) wrap long lines so that they fit in the viewport.
"editor.wordWrap": "on",
// Don't try to suggest things to me, I'm writing prose.
"editor.quickSuggestions": false
}
}