prettyPrinter
Reformat ABAP source code using your ADT pretty printer settings, returning the formatted text without writing to files.
Instructions
Reformat a source the way the ADT pretty printer would, following the setting of this user. It answers with the formatted text and writes nothing - the write is yours to make. It does not fix indentation of continuation lines the way a person would: aligning parameters to a column is not something it does.
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": {
"source": "<source>"
},
"name": "prettyPrinter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The ABAP source code to format. |