Skip to content

Commit b8409b1

Browse files
committed
Refactoring of completion menu in Devstudio
(references #1038)
1 parent 5b2284f commit b8409b1

26 files changed

+150
-297
lines changed

CMake.in.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SET(OFBUILD_CUSTOM_CMAKE_VERSION "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.
2323
SET(OPENFLUID_VERSION_MAJOR 2)
2424
SET(OPENFLUID_VERSION_MINOR 2)
2525
SET(OPENFLUID_VERSION_PATCH 0)
26-
SET(OPENFLUID_VERSION_STATUS "alpha86") # example: SET(OPENFLUID_VERSION_STATUS "rc1")
26+
SET(OPENFLUID_VERSION_STATUS "alpha87") # example: SET(OPENFLUID_VERSION_STATUS "rc1")
2727

2828
SET(OPENFLUID_VERSION_FULL "${OPENFLUID_VERSION_MAJOR}.${OPENFLUID_VERSION_MINOR}.${OPENFLUID_VERSION_PATCH}")
2929

resources/tools/ofsrc-completion-rebuild.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# @cond OpenFLUID:completion
4343
# {
4444
# "contexts" : ["SIMULATOR"],
45-
# "menupath" : ["Compute code", "Parameters"],
45+
# "menupath" : ["Parameters"],
4646
# "title" : "Get simulator parameter",
4747
# "text" : "OPENFLUID_GetSimulatorParameter(Params,%%SEL_START%%ParamName%%SEL_END%%,Val)"
4848
# }
@@ -51,7 +51,7 @@
5151
# @cond OpenFLUID:completion
5252
# {
5353
# "contexts" : ["ANYWARE"],
54-
# "menupath" : ["Compute code", "Loops"],
54+
# "menupath" : ["Loops"],
5555
# "title" : "Loop on an events collection",
5656
# "text" : ["OPENFLUID_EVENT_COLLECTION_LOOP(%%SEL_START%%EvList%%SEL_END%%,Event)",
5757
# "\n%%INDENT%%{\n%%INDENT%%\n%%INDENT%%}"]

src/openfluid/core/BooleanValue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ namespace openfluid { namespace core {
7171
@cond OpenFLUID:completion
7272
{
7373
"contexts" : ["ANYWARE"],
74-
"menupath" : ["Compute code", "Types", "Values"],
74+
"menupath" : ["Types", "Values"],
7575
"title" : "BooleanValue",
7676
"text" : "openfluid::core::BooleanValue %%SEL_START%%Val%%SEL_END%%"
7777
}

src/openfluid/core/DateTime.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ namespace openfluid { namespace core {
7878
@cond OpenFLUID:completion
7979
{
8080
"contexts" : ["ANYWARE"],
81-
"menupath" : ["Compute code", "Types", "Time"],
81+
"menupath" : ["Types", "Time"],
8282
"title" : "Date and time",
8383
"text" : "openfluid::core::DateTime %%SEL_START%%DT%%SEL_END%%"
8484
}

src/openfluid/core/DoubleValue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ namespace openfluid { namespace core {
7171
@cond OpenFLUID:completion
7272
{
7373
"contexts" : ["ANYWARE"],
74-
"menupath" : ["Compute code", "Types", "Values"],
74+
"menupath" : ["Types", "Values"],
7575
"title" : "DoubleValue",
7676
"text" : "openfluid::core::DoubleValue %%SEL_START%%Val%%SEL_END%%"
7777
}

src/openfluid/core/Event.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ namespace openfluid { namespace core {
5959
@cond OpenFLUID:completion
6060
{
6161
"contexts" : ["ANYWARE"],
62-
"menupath" : ["Compute code", "Types", "Events"],
62+
"menupath" : ["Types", "Events"],
6363
"title" : "Event",
6464
"text" : "openfluid::core::Event %%SEL_START%%Ev%%SEL_END%%"
6565
}

src/openfluid/core/EventsCollection.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ typedef std::list<Event> EventsList_t;
6161
@cond OpenFLUID:completion
6262
{
6363
"contexts" : ["ANYWARE"],
64-
"menupath" : ["Compute code", "Types", "Events"],
64+
"menupath" : ["Types", "Events"],
6565
"title" : "Events collection",
6666
"text" : "openfluid::core::EventsCollection %%SEL_START%%EvColl%%SEL_END%%"
6767
}

src/openfluid/core/IndexedValue.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace openfluid { namespace core {
5454
@cond OpenFLUID:completion
5555
{
5656
"contexts" : ["ANYWARE"],
57-
"menupath" : ["Compute code", "Types", "Values"],
57+
"menupath" : ["Types", "Values"],
5858
"title" : "IndexedValue",
5959
"text" : "openfluid::core::IndexedValue %%SEL_START%%IndexedVal%%SEL_END%%"
6060
}
@@ -173,7 +173,7 @@ class IndexedValue
173173
@cond OpenFLUID:completion
174174
{
175175
"contexts" : ["ANYWARE"],
176-
"menupath" : ["Compute code", "Types", "Values"],
176+
"menupath" : ["Types", "Values"],
177177
"title" : "List of IndexedValue",
178178
"text" : "openfluid::core::IndexedValueList %%SEL_START%%IndexedValList%%SEL_END%%"
179179
}

src/openfluid/core/IntegerValue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ namespace openfluid { namespace core {
7070
@cond OpenFLUID:completion
7171
{
7272
"contexts" : ["ANYWARE"],
73-
"menupath" : ["Compute code", "Types", "Values"],
73+
"menupath" : ["Types", "Values"],
7474
"title" : "IntegerValue",
7575
"text" : "openfluid::core::IntegerValue %%SEL_START%%Val%%SEL_END%%"
7676
}

src/openfluid/core/MapValue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ namespace openfluid { namespace core {
8383
@cond OpenFLUID:completion
8484
{
8585
"contexts" : ["ANYWARE"],
86-
"menupath" : ["Compute code", "Types", "Values"],
86+
"menupath" : ["Types", "Values"],
8787
"title" : "MapValue",
8888
"text" : "openfluid::core::MapValue %%SEL_START%%Val%%SEL_END%%"
8989
}

0 commit comments

Comments
 (0)