The content assist contains wrong elements for selection


Symptom:

If you are using the content assist in the ST-editor, the list might provide elements which are not correct in the current context.

Example
TYPE
Struct1 : STRUCT
Elem1 : INT;
END_STRUCT;
END_TYPE
 
PROGRAM Motor
VAR
Var1 : INT;
Var2 : Struct1;
END_VAR
Var1 := 1 + 2 * Var2.;
END_PROGRAM

The content assist after Var2. lists the elements .. and Elem1. But if you select .., the ST-code is highlighted as faulty.

Solution: Correct the faulty ST-code by e.g. undoing the change and by selecting a different, correct element from the list of the content assist. Related to the example, Elem1 is correct.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg logi.cals recommends to install and use the most current versions of logi.CAD 3 and the runtime system so that the latest features and problem fixes according to the release notes are provided in the used version.


Did this article help you? Did you find the requested information in this user documentation?
If not, contact the support team of logi.cals. State your questions or suggestions to improve/enhance the user documentation as detailed as possible.