Skip to content

Commit 4f3c053

Browse files
committed
add new serve-d settings
1 parent 486aa3a commit 4f3c053

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,18 @@
916916
"scope": "resource",
917917
"default": true,
918918
"markdownDescription": "Automatically insert or replace the `module name;` when creating or renaming a file."
919+
},
920+
"d.enableDCDHighlight": {
921+
"type": "boolean",
922+
"scope": "resource",
923+
"default": true,
924+
"markdownDescription": "When the text cursor is on a symbol, highlight other uses of the symbol within the current file. Does not change behavior of F2 / rename symbol. `#d.enableFallbackHighlight#` is separate from this and can still be run even if this setting is turned off. This internally runs `dcd-client --localUse`."
925+
},
926+
"d.enableFallbackHighlight": {
927+
"type": "boolean",
928+
"scope": "resource",
929+
"default": true,
930+
"markdownDescription": "Similar to `#d.enableDCDHighlight#`, but for simple cases, such as:\n\n- highlighting equivalent identifiers and text inside strings\n- on `return`, highlight the other `return` statements in the current function\n- on `switch`/`case`/`default` highlight the other switch-related control flow statements\n- on loops, `break`/`continue`, highlight break/continue/return\n- on `if`/`else`, highlight all if/if else/else blocks associated with the current if statement"
919931
}
920932
}
921933
},

0 commit comments

Comments
 (0)