blob: 86f325331d5d2eeee7e6d7693258c5266ce2b154 [file] [log] [blame] [raw]
{
"settings": {
"hasHeaders": true,
"constrainDragToContainer": false,
"reorderEnabled": true,
"selectionEnabled": false,
"popoutWholeStack": false,
"blockedPopoutsThrowError": true,
"closePopoutsOnUnload": true,
"showPopoutIcon": false,
"showMaximiseIcon": true,
"showCloseIcon": true,
"responsiveMode": "onload",
"tabOverlapAllowance": 0,
"reorderOnTabMenuClick": true,
"tabControlOffset": 10
},
"dimensions": {
"borderWidth": 5,
"borderGrabWidth": 15,
"minItemHeight": 10,
"minItemWidth": 10,
"headerHeight": 20,
"dragProxyWidth": 300,
"dragProxyHeight": 200
},
"labels": {
"close": "close",
"maximise": "maximise",
"minimise": "minimise",
"popout": "open in new window",
"popin": "pop in",
"tabDropdown": "additional tabs"
},
"content": [
{
"type": "row",
"content": [
{
"type": "stack",
"width": 25,
"content": [
{
"type": "component",
"componentName": "tree",
"componentState": {
"id": 1,
"cmakeArgs": "",
"customOutputFilename": "",
"isCMakeProject": true,
"newFileId": 7,
"compilerLanguageId": "c++",
"files": [
{
"fileId": 1,
"isIncluded": true,
"isOpen": true,
"isMainSource": false,
"filename": "example.cpp",
"content": "#include \"square.h\"\n\nint main(int argc, char **argv) {\n return square(argc);\n}\n",
"editorId": 1,
"langId": "c++"
},
{
"fileId": 2,
"isIncluded": true,
"isOpen": true,
"isMainSource": false,
"filename": "square.h",
"content": "#pragma once\n\nint square(int num);\n",
"editorId": 2,
"langId": "c++"
},
{
"fileId": 3,
"isIncluded": true,
"isOpen": false,
"isMainSource": true,
"filename": "CMakeLists.txt",
"content": "project(hello)\n\nadd_executable(output.s\n example.cpp\n square.cpp)\n",
"editorId": -1,
"langId": "cmake"
},
{
"fileId": 4,
"isIncluded": true,
"isOpen": true,
"isMainSource": false,
"filename": "square.cpp",
"content": "#include \"square.h\"\n\nint square(int num) {\n return num * num;\n}\n",
"editorId": 4,
"langId": ""
}
]
},
"isClosable": true,
"reorderEnabled": true
}
]
},
{
"type": "stack",
"width": 40,
"content": [
{
"type": "component",
"componentName": "codeEditor",
"componentState": {
"id": 1,
"source": "#include \"square.h\"\n\nint main(int argc, char **argv) {\n return square(argc);\n}\n",
"lang": "c++",
"filename": "example.cpp"
},
"isClosable": true,
"reorderEnabled": true,
"title": "example.cpp"
},
{
"type": "component",
"componentName": "codeEditor",
"componentState": {
"id": 2,
"source": "#pragma once\n\nint square(int num);\n",
"lang": "c++",
"filename": "square.h"
},
"isClosable": true,
"reorderEnabled": true,
"title": "square.h"
},
{
"type": "component",
"componentName": "codeEditor",
"componentState": {
"id": 4,
"source": "#include \"square.h\"\n\nint square(int num) {\n return num * num;\n}\n",
"lang": "c++",
"filename": "square.cpp"
},
"isClosable": true,
"reorderEnabled": true,
"title": "square.cpp"
},
{
"type": "component",
"componentName": "codeEditor",
"componentState": {
"id": 3,
"source": "project(hello)\n\nadd_executable(output.s\n example.cpp\n square.cpp)\n",
"lang": "cmake",
"filename": "CMakeLists.txt"
},
"isClosable": true,
"reorderEnabled": true,
"title": "CMakeLists.txt"
}
]
},
{
"type": "stack",
"width": 40,
"content": [
{
"componentName": "compiler",
"componentState": {
"compiler": "g103",
"filters": {
"binary": true,
"commentOnly": true,
"demangle": true,
"directives": true,
"execute": false,
"intel": true,
"labels": true,
"trim": false
},
"lang": "c++",
"libs": [],
"options": "-g -O3 -flto",
"tree": 1
},
"isClosable": true,
"reorderEnabled": true,
"type": "component"
},
{
"componentName": "output",
"componentState": {
"compiler": 1,
"fontScale": 14,
"wrap": false
},
"isClosable": true,
"reorderEnabled": true,
"type": "component"
}
]
}
]
}
]
}