insert operator resolving as Trigger reference, not as keyword

Issue #2607 resolved
Xander Victory created an issue

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)

  1. Scott Wells repo owner
    • changed status to open

    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.

  2. Log in to comment