codeLineDelete
Remove specified lines from a code file, ensuring minimal impact on the compiler. Use to cleanly delete code segments without manual adjustments for formatting.
Instructions
每次使用前、使用後必須先使用(codeFileRead)。刪除程式碼檔案指定範圍的行。(如果不影響編譯器的話,不需要針對縮排等小問題修改。提醒User就好了)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endLine | No | ||
filePath | Yes | ||
startLine | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"endLine": {
"type": "number"
},
"filePath": {
"type": "string"
},
"startLine": {
"type": "number"
}
},
"required": [
"filePath",
"startLine"
],
"type": "object"
}