-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.devcontainer.json
97 lines (78 loc) · 3.33 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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
{
"name": "POODI Virtual Course",
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
// The docker-compose.yml file contains any overrides you need/want to make.
"dockerComposeFile": "docker-compose.yml",
// The 'service' property is the name of the service for the container that VS Code should
// use. Update this value and docker-compose.yml to the real service name.
"service": "poodi_virtual",
// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in docker-compose.yml
"workspaceFolder": "/home/vscode/poodi_virtual",
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "ruby --version",
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
// A command string or list of command arguments to run when the container starts (in all cases).
// The parameters behave exactly like postCreateCommand, but the commands execute on start rather
// than create. Not set by default.
"postStartCommand": "/home/vscode/initialization_scripts/post_start.sh",
// Configure tool-specific properties.
"customizations": {
"vscode": {
// Basic settings config.
// Fine-tune inside the project with `.vscode/settings.json` file.
// Use 'settings' to set *default* container specific settings.json values on container create.
// You can edit these settings after create using File > Preferences > Settings > Remote.
"settings": {
// You could redefine this settings with .vscode/settings.json file
// inside workspace folder.
// Controls the maximum amount of lines the terminal keeps in its buffer.
// Increase to 50000. Default 1000 is too low.
"terminal.integrated.scrollback": 50000,
// Basic formatting settings.
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
// Colorize and highlight bracket pairs.
"editor.guides.bracketPairs": true,
"editor.bracketPairColorization.enabled": true,
// Disble Copilot.
"github.copilot.enable": {
"*": false
},
// Ruby LSP settings.
"rubyLsp.enableExperimentalFeatures": true,
"rubyLsp.formatter": "auto",
"rubyLsp.featureFlags": {
"all": true
},
// Ruby LSP advanced semantic highlighting.
"workbench.colorTheme": "Spinel",
"[ruby]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.defaultFormatter": "Shopify.ruby-lsp",
"editor.rulers": [
120
],
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.semanticHighlighting.enabled": true,
"files.trimFinalNewlines": true
}
},
// Add the IDs of extensions you want installed when the container is created in the array below.
"extensions": [
"shopify.ruby-lsp"
]
}
}
}