Skip to content

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:

datatypeRequired fieldsDescription
versionstringyesLite6 arm passes “lite6”, other types pass null
user_IdstringyesDefault pass test
projectNamestringyesThe parent directory of the project
parentPathstringyesIDE's new parent directory
folderNamestringyesName 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.