forked from cs50/codespace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.devcontainer.json
188 lines (188 loc) · 7.5 KB
/
.devcontainer.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
{
"extensions": [
"/opt/cs50/extensions/cs50-0.0.1.vsix",
"/opt/cs50/extensions/phpliteadmin-0.0.1.vsix",
"cs50.ddb50",
"cs50.extension-uninstaller",
"cs50.lab50",
"cs50.markdown50",
"cs50.vscode-presentation-mode",
"ms-python.python",
"ms-vscode.cpptools",
"ms-vscode.hexeditor",
"ms-vsliveshare.vsliveshare-pack",
"redhat.java",
"tomoki1207.pdf",
"vscjava.vscode-java-debug",
"vsls-contrib.gitdoc"
],
"forwardPorts": [
5000, // Flask
5900, // VNC server
6081, // VNC client
8080, // http-server
8082 // phpLiteAdmin
],
"image": "ghcr.io/cs50/codespace",
"postCreateCommand": "/opt/cs50/bin/postCreateCommand",
"remoteEnv": {
"CS50_GH_USER": "${localEnv:GITHUB_USER}",
"GH_TOKEN": "${localEnv:CS50_TOKEN}",
"TZ": "${localEnv:CS50_TZ}"
},
"settings": {
"breadcrumbs.enabled": false,
"C_Cpp.autocomplete": "Disabled",
"C_Cpp.codeFolding": "Disabled",
"C_Cpp.debugShortcut": false,
"C_Cpp.dimInactiveRegions": false,
"C_Cpp.doxygen.generateOnType": false,
"C_Cpp.enhancedColorization": "Enabled",
"C_Cpp.errorSquiggles": "Disabled",
"editor.autoClosingQuotes": "never",
"editor.colorDecorators": false,
"editor.emptySelectionClipboard": false,
"editor.folding": false,
"editor.foldingHighlight": false,
"editor.guides.indentation": false,
"editor.hover.enabled": false,
"editor.lightbulb.enabled": false,
"editor.matchBrackets": "never",
"editor.minimap.enabled": false,
"editor.occurrencesHighlight": false,
"editor.parameterHints.enabled": false,
"editor.quickSuggestions": {
"other": "off",
"comments": "off",
"strings": "off"
},
"editor.renderWhitespace": "selection",
"editor.selectionHighlight": false,
"editor.semanticTokenColorCustomizations": {
"[GitHub Dark Default]": {
"rules": {
"type": "#FF7E76"
}
},
"[GitHub Light Default]": {
"rules": {
"type": "#D2343F"
}
}
},
"editor.suggestOnTriggerCharacters": false,
"extensions.ignoreRecommendations": true,
"explorer.compactFolders": false,
"extension-uninstaller.uninstall": [
"github.copilot",
"github.copilot-nightly",
"ms-toolsai.vscode-jupyter-cell-tags",
"tabnine.tabnine-vscode"
],
"files.autoSave": "afterDelay",
"files.exclude": {
"**/.*": true
},
"files.trimTrailingWhitespace": true,
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true
},
"git.autofetch": true, /* Disable "Would you like Code to periodically run 'git fetch'?" toast */
"github.codespaces.devcontainerChangedNotificationStyle": "none",
"git.decorations.enabled": false,
"git.terminalAuthentication": true,
"github.gitAuthentication": true,
"gitdoc.autoPull": "off",
"gitdoc.enabled": true,
"gitdoc.commitMessageFormat": "ccc, LLL d, kkkk, h:mm a ZZ",
"gitdoc.commitValidationLevel": "none",
"gitdoc.pullOnOpen": false,
"html.suggest.html5": false,
"java.server.launchMode": "Standard",
"java.configuration.runtimes": [
{
"name": "JavaSE-18",
"path": "/opt/jdk-18.0.2.1", /* env | grep JAVA_HOME (set in cs50/cli) */
"default": true
}
],
"java.inlayHints.parameterNames.enabled": "none",
"java.debug.settings.enableRunDebugCodeLens": false,
"javascript.suggest.enabled": false,
"javascript.validate.enable": false, /* Disable red squiggles */
"problems.decorations.enabled": false,
"remote.otherPortsAttributes": {
"onAutoForward": "silent"
},
"scm.countBadge": "off",
"terminal.integrated.commandsToSkipShell": [
"workbench.action.toggleSidebarVisibility"
],
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.gpuAcceleration": "off",
"terminal.integrated.profiles.linux": {
"bash": {
"args": [
"--login"
],
"icon": "terminal",
"path": "bash"
},
"JavaScript Debug Terminal": null
},
"terminal.integrated.persistentSessionReviveProcess": "never",
"terminal.integrated.sendKeybindingsToShell": true,
"terminal.integrated.shellIntegration.enabled": true,
"terminal.integrated.shellIntegration.decorationsEnabled": "never", /* Remove decoration for each command */
"terminal.integrated.tabs.description": "${task}${separator}${local}", /* Remove cwdFolder from description */
"terminal.integrated.tabs.showActiveTerminal": "never",
"window.autoDetectColorScheme": true,
"workbench.colorCustomizations": {
"editor.lineHighlightBorder": "#0000", /* Disable gray border-{bottom,top} on active line */
"editorError.foreground": "#0000", /* Disable red squiggles */
"editorWarning.foreground": "#0000", /* Disable yellow squiggles */
"editorGutter.addedBackground": "#0000",
"editorGutter.deletedBackground": "#0000",
"editorGutter.modifiedBackground": "#0000", /* Disable yellow bars to left of lines modified since last commit */
"[GitHub Dark Default]": {
"activityBar.background": "#000",
"editor.background": "#000",
"editor.lineHighlightBackground": "#0000",
"editor.lineHighlightBorder": "#0000",
"editorWhitespace.foreground": "#59A5FC",
"panel.background": "#000",
"sideBar.background": "#000",
"terminal.foreground": "#fff",
"terminal.background": "#000"
},
"[GitHub Light Default]": {
"activityBar.background": "#fff",
"editor.background": "#fff",
"editor.lineHighlightBackground": "#fff0",
"editor.lineHighlightBorder": "#fff0",
"editorWhitespace.foreground": "#1167D7",
"panel.background": "#fff",
"sideBar.background": "#fff",
"terminal.foreground": "#000",
"terminal.background": "#fff"
}
},
"window.commandCenter": false,
"workbench.editorAssociations": {
"*.wav": "vscode.audioPreview",
"README.md": "lab50.editor"
},
"workbench.editor.closeOnFileDelete": true,
"workbench.editor.enablePreview": false,
"workbench.editor.untitled.hint": "hidden",
"workbench.iconTheme": "vs-minimal", /* Simplify icons */
"workbench.preferredDarkColorTheme": "GitHub Dark Default",
"workbench.preferredLightColorTheme": "GitHub Light Default",
"workbench.startupEditor": "none",
"workbench.statusBar.visible": false,
"workbench.tips.enabled": false,
"workbench.welcomePage.walkthroughs.openOnInstall": false
}
}