Skip to content

Commit fb98651

Browse files
committed
Normalize .code-workspace to match the companywide template
Rewrite from a near-empty stub to the shared editor/workbench baseline (theme, fonts, RuboCop code actions, Ruby-appropriate files.exclude) with launch/tasks/extensions wired to bundle exec rspec and rubocop.
1 parent 2521ad0 commit fb98651

1 file changed

Lines changed: 111 additions & 6 deletions

File tree

‎ruby_api_pack_core.code-workspace‎

Lines changed: 111 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,113 @@
11
{
2-
"folders": [
3-
{
4-
"path": "."
5-
}
6-
],
7-
"settings": {}
2+
"folders": [
3+
{
4+
"path": "."
5+
}
6+
],
7+
"settings": {
8+
"workbench.colorTheme": "Solarized Dark",
9+
"workbench.iconTheme": "material-icon-theme",
10+
"workbench.startupEditor": "none",
11+
"workbench.editor.enablePreview": false,
12+
"breadcrumbs.enabled": true,
13+
"editor.fontFamily": "'Fira Code', 'Cascadia Code', 'JetBrains Mono', Consolas, 'Courier New', monospace",
14+
"editor.fontLigatures": true,
15+
"editor.fontSize": 14,
16+
"editor.lineHeight": 1.6,
17+
"editor.cursorBlinking": "smooth",
18+
"editor.cursorSmoothCaretAnimation": "on",
19+
"editor.smoothScrolling": true,
20+
"editor.minimap.enabled": false,
21+
"editor.renderWhitespace": "boundary",
22+
"editor.bracketPairColorization.enabled": true,
23+
"editor.guides.bracketPairs": "active",
24+
"editor.inlineSuggest.enabled": true,
25+
"editor.linkedEditing": true,
26+
"editor.formatOnSave": true,
27+
"editor.formatOnPaste": false,
28+
"editor.tabSize": 2,
29+
"editor.insertSpaces": true,
30+
"editor.detectIndentation": true,
31+
"editor.trimAutoWhitespace": true,
32+
"editor.codeActionsOnSave": {
33+
"source.fixAll.rubocop": "explicit"
34+
},
35+
"files.trimTrailingWhitespace": true,
36+
"files.insertFinalNewline": true,
37+
"files.eol": "\n",
38+
"files.exclude": {
39+
"**/.git": true,
40+
"**/.DS_Store": true,
41+
"**/.bundle": true,
42+
"**/coverage": true,
43+
"**/pkg": true,
44+
"**/vendor/bundle": true
45+
},
46+
"files.watcherExclude": {
47+
"**/.bundle/**": true,
48+
"**/coverage/**": true,
49+
"**/pkg/**": true,
50+
"**/vendor/bundle/**": true
51+
},
52+
"search.smartCase": true,
53+
"terminal.integrated.defaultProfile.linux": "bash",
54+
"git.autofetch": true,
55+
"git.confirmSync": false,
56+
"git.enableSmartCommit": true,
57+
"scm.defaultViewMode": "tree",
58+
"[ruby]": {
59+
"editor.defaultFormatter": "misogi.ruby-rubocop",
60+
"editor.wordWrap": "off"
61+
},
62+
"[markdown]": {
63+
"editor.wordWrap": "on",
64+
"editor.defaultFormatter": "esbenp.prettier-vscode",
65+
"editor.quickSuggestions": {
66+
"comments": "off",
67+
"strings": "off",
68+
"other": "off"
69+
}
70+
}
71+
},
72+
"launch": {
73+
"version": "0.2.0",
74+
"configurations": [
75+
{
76+
"name": "Run RSpec",
77+
"type": "node-terminal",
78+
"request": "launch",
79+
"command": "bundle exec rspec"
80+
}
81+
]
82+
},
83+
"extensions": {
84+
"recommendations": [
85+
"editorconfig.editorconfig",
86+
"esbenp.prettier-vscode",
87+
"misogi.ruby-rubocop",
88+
"ms-vscode-remote.remote-wsl",
89+
"pkief.material-icon-theme",
90+
"shopify.ruby-lsp",
91+
"yzhang.markdown-all-in-one"
92+
]
93+
},
94+
"tasks": {
95+
"version": "2.0.0",
96+
"tasks": [
97+
{
98+
"label": "spec",
99+
"command": "bundle exec rspec",
100+
"type": "shell",
101+
"group": {
102+
"kind": "test",
103+
"isDefault": true
104+
}
105+
},
106+
{
107+
"label": "rubocop",
108+
"command": "bundle exec rubocop",
109+
"type": "shell"
110+
}
111+
]
112+
}
8113
}

0 commit comments

Comments
 (0)