- changed status to open
insert operator resolving as Trigger reference, not as keyword
Issue #2607
resolved
IC 2.3.2.2, IJ-U 2024.1.4
Some insert foo
calls are not highlighting as a keyword. Instead they seem to be resolving to a trigger class (hover and navigate to). Seems to happen only for objects that have a trigger defined
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Delivered in 2.3.2.3.
- Log in to comment
Ah. This is a side-effect of a recent enhancement that allows you to find all triggers that would fire for a DML statement passed concrete SObjects, and conversely to find all DML statements that would result in a given trigger's logic firing. Evidently adding those references messes with the simple syntax highlighting pass that adds keyword highlighting to DML operators. Should be simple enough to add to the dynamic annotator pass.