Skip to content

Commit a19948d

Browse files
authored
Merge pull request #10 from CodinGame/add-ruby-configuration
Add ruby configuration
2 parents 797891a + 3bb3290 commit a19948d

20 files changed

+662
-37
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codingame/monaco-editor-wrapper",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"private": false,
55
"description": "Enhanced Monaco editor with TextMate grammars and more",
66
"scripts": {

src/languages/extensions/configurations/cpptools.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2303,6 +2303,15 @@
23032303
]
23042304
},
23052305
"scope": 4
2306+
},
2307+
"C_Cpp.debugShortcut": {
2308+
"type": "boolean",
2309+
"default": false,
2310+
"tags": [
2311+
"experimental"
2312+
],
2313+
"description": "Show icon for 'Debug and Run' in shortcut menu bar",
2314+
"scope": 3
23062315
}
23072316
}
23082317
}

src/languages/extensions/configurations/scalameta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"properties": {
55
"metals.serverVersion": {
66
"type": "string",
7-
"default": "0.11.1",
7+
"default": "0.11.1+97-0ef9a93b-SNAPSHOT",
88
"markdownDescription": "The version of the Metals server artifact. Requires reloading the window.\n\n**Change only if you know what you're doing**",
99
"scope": 3
1010
},
@@ -51,7 +51,7 @@
5151
"metals.javaHome": {
5252
"type": "string",
5353
"scope": 6,
54-
"markdownDescription": "Optional path to the Java home directory. Requires reloading the window.\n\nDefaults to the most recent Java version between 8 and 11 (inclusive) computed by the `locate-java-home` npm package."
54+
"markdownDescription": "Optional path to the Java home directory. Requires reloading the window.\n\nDefaults to the most recent Java version between 8 and 17 (inclusive) computed by the `locate-java-home` npm package."
5555
},
5656
"metals.sbtScript": {
5757
"type": "string",
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
[
2+
{
3+
"title": "Solargraph settings for Ruby",
4+
"properties": {
5+
"solargraph.transport": {
6+
"type": "string",
7+
"default": "socket",
8+
"enum": [
9+
"socket",
10+
"stdio",
11+
"external"
12+
],
13+
"description": "The type of transport to use.",
14+
"scope": 3
15+
},
16+
"solargraph.externalServer": {
17+
"type": "object",
18+
"description": "The host and port to use for external transports. (Ignored for stdio and socket transports.)",
19+
"properties": {
20+
"host": {
21+
"type": "string",
22+
"default": "localhost"
23+
},
24+
"port": {
25+
"type": "integer",
26+
"default": 7658
27+
}
28+
},
29+
"default": {
30+
"host": "localhost",
31+
"port": 7658
32+
},
33+
"scope": 3
34+
},
35+
"solargraph.commandPath": {
36+
"type": "string",
37+
"default": "solargraph",
38+
"description": "Path to the solargraph command. Set this to an absolute path to select from multiple installed Ruby versions.",
39+
"scope": 4
40+
},
41+
"solargraph.useBundler": {
42+
"type": "boolean",
43+
"description": "Use `bundle exec` to run solargraph. (If this is true, the solargraph.commandPath setting is ignored.)",
44+
"default": false,
45+
"scope": 3
46+
},
47+
"solargraph.bundlerPath": {
48+
"type": "string",
49+
"description": "Path to the bundle executable, defaults to 'bundle'. Needs to be an absolute path for the 'bundle' exec/shim",
50+
"default": "bundle",
51+
"scope": 4
52+
},
53+
"solargraph.checkGemVersion": {
54+
"type": "boolean",
55+
"description": "Automatically check if a new version of the Solargraph gem is available.",
56+
"default": true,
57+
"enum": [
58+
true,
59+
false
60+
],
61+
"scope": 3
62+
},
63+
"solargraph.completion": {
64+
"type": [
65+
"boolean"
66+
],
67+
"description": "Enable completion",
68+
"default": true,
69+
"enum": [
70+
true,
71+
false
72+
],
73+
"scope": 3
74+
},
75+
"solargraph.hover": {
76+
"type": [
77+
"boolean"
78+
],
79+
"description": "Enable hover",
80+
"default": true,
81+
"enum": [
82+
true,
83+
false
84+
],
85+
"scope": 3
86+
},
87+
"solargraph.diagnostics": {
88+
"type": [
89+
"boolean"
90+
],
91+
"description": "Enable diagnostics",
92+
"default": true,
93+
"enum": [
94+
true,
95+
false
96+
],
97+
"scope": 3
98+
},
99+
"solargraph.autoformat": {
100+
"type": [
101+
"boolean"
102+
],
103+
"description": "Enable automatic formatting while typing (WARNING: experimental)",
104+
"default": false,
105+
"enum": [
106+
true,
107+
false
108+
],
109+
"scope": 3
110+
},
111+
"solargraph.formatting": {
112+
"type": [
113+
"boolean"
114+
],
115+
"description": "Enable document formatting",
116+
"enum": [
117+
true,
118+
false
119+
],
120+
"default": false,
121+
"scope": 3
122+
},
123+
"solargraph.symbols": {
124+
"type": [
125+
"boolean"
126+
],
127+
"description": "Enable symbols",
128+
"enum": [
129+
true,
130+
false
131+
],
132+
"default": true,
133+
"scope": 3
134+
},
135+
"solargraph.definitions": {
136+
"type": [
137+
"boolean"
138+
],
139+
"description": "Enable definitions (go to, etc.)",
140+
"enum": [
141+
true,
142+
false
143+
],
144+
"default": true,
145+
"scope": 3
146+
},
147+
"solargraph.rename": {
148+
"type": [
149+
"boolean"
150+
],
151+
"description": "Enable symbol renaming",
152+
"enum": [
153+
true,
154+
false
155+
],
156+
"default": true,
157+
"scope": 3
158+
},
159+
"solargraph.references": {
160+
"type": [
161+
"boolean"
162+
],
163+
"description": "Enable finding references",
164+
"enum": [
165+
true,
166+
false
167+
],
168+
"default": true,
169+
"scope": 3
170+
},
171+
"solargraph.folding": {
172+
"type": "boolean",
173+
"description": "Enable folding ranges",
174+
"default": true,
175+
"scope": 3
176+
},
177+
"solargraph.logLevel": {
178+
"type": "string",
179+
"description": "Level of debug info to log. `warn` is least and `debug` is most.",
180+
"enum": [
181+
"warn",
182+
"info",
183+
"debug"
184+
],
185+
"default": "warn",
186+
"scope": 3
187+
}
188+
}
189+
}
190+
]

0 commit comments

Comments
 (0)