Code color problem in ssms?

I am using SSMS2017, this version (perhaps earlier version has) has a function, that is, after the cursor is punctuated to something (variable, field, table name, etc.), the same string nearby will be highlighted, such as figure:

"" >>

similar function in VS2017 is [highlighted reference], but not for SSMS2017, please know friends to tell, thank you.


tools-options-Show all settings-environment-fonts and colors-display items-highlighted references.


I see, this color is controlled by two places at the same time:

  1. SQL Prompt > Options > Suggestions > Warnings & highlighting > Highlight matching objects needs to be checked;
  2. SSMS > tools > options > fonts and colors > parentheses match (square brackets)
Menu