Background
like dependencies, build_type also can be conditional (for example, catkin in ROS1, ament in ROS2). Thus, support for the conditional attribute should be added.
Details
[x] If the file is in format 3, the annotation for unknown build type could be toggled off by the conditional.
[x] If the file is in a lower format, use an inspection on conditionals to point out they are not considered.
[x] If format is 3, suggest completion for condition in build_type with all the features it has.
[x] additionally, if the format is 3, the completion allows multiple build_types assuming the ones added were turned off by their conditions
[x] restrict the multiple build_types annotation to check only for non-ignored build_type tags.
[x] if the condition in the build_type resolves to false, it should be annotated as ignored with the special highlighting defined for that purpose.
Feature: add conditon attribute to build_type
Background like dependencies, build_type also can be conditional (for example, catkin in ROS1, ament in ROS2). Thus, support for the conditional attribute should be added.
Details