14.ide_create_folder
Create folder interface in ide project:
Creates a folder in the ide project.
Message:
json
{
"cmd": "ide_create_folder",
"data": {
"version":"lite6",
"user_Id":"test",
"projectName":"BlocklyToPython",
"parentPath":"",
"folderName":"11"
},
"id": "1"
}
Request:
data | type | Required fields | Description |
---|---|---|---|
version | string | yes | Lite6 arm passes “lite6”, other types pass null |
user_Id | string | yes | Default pass test |
projectName | string | yes | The parent directory of the project |
parentPath | string | yes | IDE's new parent directory |
folderName | string | yes | Name of the newly created folder |
Respons:
code=0->Success;
code!=0->-35 indicates a new folder exception, -11 indicates that the newly created folder already exists, and -32 a write configuration file exception.