import isystem.connect as ic
winidea_id = ''
def test_getPath():
connMgr = ic.ConnectionMgr()
connMgr.connect(ic.CConnectionConfig().start_if_required().instanceId(winidea_id))
ideCtrl = ic.CIDEController(connMgr)
path = ideCtrl.getPath(ic.CIDEController.WINIDEA_EXE_DIR)
print(f"winIDEA.exe path: {path}")
path = ideCtrl.getPath(ic.CIDEController.WORKSPACE_DIR)
print(f"Current workspace folder path: {path}")
path = ideCtrl.getPath(ic.CIDEController.WORKSPACE_FILE_NAME)
print(f"Current workspace file name: {path}")
if __name__ == "__main__":
test_getPath()