How to highlight matching arguments when editing SQL

Answered

When editing a .sql file in the IDEA editor, what settings do I have to tweak to see matching arguments between the column list and values list?

For example, 

insert into table(ID, NAME, PHONE)

values(55, 'John', '4145551212');

When I click the cursor on "55", it should highlight "ID". Also if I click on "NAME", it should highlight "John".

I do have a Postgres connection to my local database.

This works on my colleague's instance of IDEA, but not mine.  We cannot find the setting that is different between our instances.

 

Thanks,

Ross Greinke

0
1 comment

The option is Settings (Preferences on macOS) | Editor | General | Highlight on Caret Movement | Highlight usages of element at caret.

0

Please sign in to leave a comment.