In FFLD diagrams, double-click on a contact, a coil or a block input or output to select the variable. Double-click on the top of an FB rectangle to select an instance.
When the variable editor is visible in the editor window, you can drag a variable from the list and drop it in the program to insert it.