Skip to content

Commit

Permalink
add new serve-d settings
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 committed Dec 11, 2023
1 parent 486aa3a commit 4f3c053
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,18 @@
"scope": "resource",
"default": true,
"markdownDescription": "Automatically insert or replace the `module name;` when creating or renaming a file."
},
"d.enableDCDHighlight": {
"type": "boolean",
"scope": "resource",
"default": true,
"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`."
},
"d.enableFallbackHighlight": {
"type": "boolean",
"scope": "resource",
"default": true,
"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"
}
}
},
Expand Down

0 comments on commit 4f3c053

Please sign in to comment.