Skip to content

Commit 82b8cc4

Browse files
authored
fix(vscode): use flat settings keys (#313)
#294
1 parent a85f9c9 commit 82b8cc4

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -202,22 +202,22 @@
202202
{
203203
"title": "Editor › Hints",
204204
"properties": {
205-
"tact.editor.hints.types": {
205+
"tact.hints.types": {
206206
"type": "boolean",
207207
"default": true,
208208
"description": "Show type hints for variables and expressions"
209209
},
210-
"tact.editor.hints.parameters": {
210+
"tact.hints.parameters": {
211211
"type": "boolean",
212212
"default": true,
213213
"description": "Show parameter name hints in function calls"
214214
},
215-
"tact.editor.hints.showExitCodes": {
215+
"tact.hints.showExitCodes": {
216216
"type": "boolean",
217217
"default": true,
218218
"description": "Show exit codes in require() call"
219219
},
220-
"tact.editor.hints.exitCodeFormat": {
220+
"tact.hints.exitCodeFormat": {
221221
"type": "string",
222222
"enum": [
223223
"decimal",
@@ -230,12 +230,12 @@
230230
"Show exit codes in hexadecimal format (e.g. 0x4D2)"
231231
]
232232
},
233-
"tact.editor.hints.showMethodId": {
233+
"tact.hints.showMethodId": {
234234
"type": "boolean",
235235
"default": true,
236236
"description": "Show method ID hints for contract functions"
237237
},
238-
"tact.editor.hints.showExplicitTLBIntType": {
238+
"tact.hints.showExplicitTLBIntType": {
239239
"type": "boolean",
240240
"default": true,
241241
"description": "Show explicit TL-B type hints (as int257) for Int fields"
@@ -245,22 +245,22 @@
245245
{
246246
"title": "Editor › Gas Hints",
247247
"properties": {
248-
"tact.editor.gasHints.showGasConsumption": {
248+
"tact.hints.showGasConsumption": {
249249
"type": "boolean",
250250
"default": true,
251251
"description": "Show gas consumption hints for asm functions"
252252
},
253-
"tact.editor.gasHints.showAsmInstructionGas": {
253+
"tact.hints.showAsmInstructionGas": {
254254
"type": "boolean",
255255
"default": true,
256256
"description": "Show gas consumption hints for assembly instructions"
257257
},
258-
"tact.editor.gasHints.showPushcontGas": {
258+
"tact.hints.showPushcontGas": {
259259
"type": "boolean",
260260
"default": true,
261261
"description": "Show gas consumption hints for PUSHCONT blocks"
262262
},
263-
"tact.editor.gasHints.gasFormat": {
263+
"tact.hints.gasFormat": {
264264
"type": "string",
265265
"default": ": {gas}",
266266
"description": "Format string for gas consumption hints. Use {gas} as placeholder for the gas value and {stack} for the stack info",

0 commit comments

Comments
 (0)