setPrettyPrinterSetting
Change the pretty-printer setting to control how keywords and identifiers are formatted in future code reformats. Specify the style and indent option to customize the output.
Instructions
Change the pretty-printer setting for this user - it is a user setting and stays until changed back. It decides what prettyPrinter does to keywords and identifiers, so changing it changes how every later reformat looks.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"indent": "<indent>",
"style": "<style>"
},
"name": "setPrettyPrinterSetting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | The pretty printer style. | |
| indent | Yes | Whether to indent the code. |