Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.

Commit aa30cff

Browse files
author
Allen Webster
committed
index based project command callers
1 parent 12b345a commit aa30cff

File tree

2 files changed

+235
-91
lines changed

2 files changed

+235
-91
lines changed

custom/4coder_project_commands.cpp

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,5 +1048,101 @@ CUSTOM_DOC("Prints the current project to the file it was loaded from; prints in
10481048
}
10491049
}
10501050

1051+
CUSTOM_COMMAND_SIG(project_command_F1)
1052+
CUSTOM_DOC("Run the command with index 1")
1053+
{
1054+
prj_exec_command_fkey_index(app, 0);
1055+
}
1056+
1057+
CUSTOM_COMMAND_SIG(project_command_F2)
1058+
CUSTOM_DOC("Run the command with index 2")
1059+
{
1060+
prj_exec_command_fkey_index(app, 1);
1061+
}
1062+
1063+
CUSTOM_COMMAND_SIG(project_command_F3)
1064+
CUSTOM_DOC("Run the command with index 3")
1065+
{
1066+
prj_exec_command_fkey_index(app, 2);
1067+
}
1068+
1069+
CUSTOM_COMMAND_SIG(project_command_F4)
1070+
CUSTOM_DOC("Run the command with index 4")
1071+
{
1072+
prj_exec_command_fkey_index(app, 3);
1073+
}
1074+
1075+
CUSTOM_COMMAND_SIG(project_command_F5)
1076+
CUSTOM_DOC("Run the command with index 5")
1077+
{
1078+
prj_exec_command_fkey_index(app, 4);
1079+
}
1080+
1081+
CUSTOM_COMMAND_SIG(project_command_F6)
1082+
CUSTOM_DOC("Run the command with index 6")
1083+
{
1084+
prj_exec_command_fkey_index(app, 5);
1085+
}
1086+
1087+
CUSTOM_COMMAND_SIG(project_command_F7)
1088+
CUSTOM_DOC("Run the command with index 7")
1089+
{
1090+
prj_exec_command_fkey_index(app, 6);
1091+
}
1092+
1093+
CUSTOM_COMMAND_SIG(project_command_F8)
1094+
CUSTOM_DOC("Run the command with index 8")
1095+
{
1096+
prj_exec_command_fkey_index(app, 7);
1097+
}
1098+
1099+
CUSTOM_COMMAND_SIG(project_command_F9)
1100+
CUSTOM_DOC("Run the command with index 9")
1101+
{
1102+
prj_exec_command_fkey_index(app, 8);
1103+
}
1104+
1105+
CUSTOM_COMMAND_SIG(project_command_F10)
1106+
CUSTOM_DOC("Run the command with index 10")
1107+
{
1108+
prj_exec_command_fkey_index(app, 9);
1109+
}
1110+
1111+
CUSTOM_COMMAND_SIG(project_command_F11)
1112+
CUSTOM_DOC("Run the command with index 11")
1113+
{
1114+
prj_exec_command_fkey_index(app, 10);
1115+
}
1116+
1117+
CUSTOM_COMMAND_SIG(project_command_F12)
1118+
CUSTOM_DOC("Run the command with index 12")
1119+
{
1120+
prj_exec_command_fkey_index(app, 11);
1121+
}
1122+
1123+
CUSTOM_COMMAND_SIG(project_command_F13)
1124+
CUSTOM_DOC("Run the command with index 13")
1125+
{
1126+
prj_exec_command_fkey_index(app, 12);
1127+
}
1128+
1129+
CUSTOM_COMMAND_SIG(project_command_F14)
1130+
CUSTOM_DOC("Run the command with index 14")
1131+
{
1132+
prj_exec_command_fkey_index(app, 13);
1133+
}
1134+
1135+
CUSTOM_COMMAND_SIG(project_command_F15)
1136+
CUSTOM_DOC("Run the command with index 15")
1137+
{
1138+
prj_exec_command_fkey_index(app, 14);
1139+
}
1140+
1141+
CUSTOM_COMMAND_SIG(project_command_F16)
1142+
CUSTOM_DOC("Run the command with index 16")
1143+
{
1144+
prj_exec_command_fkey_index(app, 15);
1145+
}
1146+
10511147
// BOTTOM
10521148

0 commit comments

Comments
 (0)