Author Topic: How to remove popup "Reference to 'symbol'"  (Read 559 times)

rowbearto

  • Senior Community Member
  • Posts: 2325
  • Hero Points: 132
How to remove popup "Reference to 'symbol'"
« on: May 07, 2023, 03:42:23 AM »
I do find references on C++ symbol1 and those references are shown in reference tool window.

Did a 2nd "find references" on a different symbol, symbol2.

Make the Build tool window visible and references tab no longer visible.

I hover over symbol1 in my editor window and see a popup: "Reference to 'symbol1'".

How to disable this popup?

rowbearto

  • Senior Community Member
  • Posts: 2325
  • Hero Points: 132
Re: How to remove popup "Reference to 'symbol'"
« Reply #1 on: May 07, 2023, 03:50:46 PM »
Attached is a screenshot of the popup I'm referring to.

The references window in the screenshot has a different reference it is tracking but a reference to the symbol getting the popup is searched for and displayed elsewhere in the references stack.
« Last Edit: May 07, 2023, 03:52:46 PM by rowbearto »

Dennis

  • Senior Community Member
  • Posts: 3941
  • Hero Points: 515
Re: How to remove popup "Reference to 'symbol'"
« Reply #2 on: May 08, 2023, 02:03:35 PM »
I would need to add another option to turn that off individually.  Is the option you really want an overarching option to disable all mouse-over popups?   That would include symbol info, symbol coloring, symbol highlighting, parenthesis matching, symbol values when debugging, explanations for various stream markers, explanations for left margin icons, minimap tooltips, document overview tooltips, you just want to shut them all down?

rowbearto

  • Senior Community Member
  • Posts: 2325
  • Hero Points: 132
Re: How to remove popup "Reference to 'symbol'"
« Reply #3 on: May 09, 2023, 01:09:30 PM »
I'm curious why need an option for this? Why not always turn it off? Not sure a user would be interested in this?

Well I want parenthesis matching and also highlighting same symbols (but not sure if that is mouse over or I have to put cursor there). I also want explanations for left margin icons (I use live errors).

So not sure I want an overarching option to disable all mouse-over popups.

Dennis

  • Senior Community Member
  • Posts: 3941
  • Hero Points: 515
Re: How to remove popup "Reference to 'symbol'"
« Reply #4 on: May 09, 2023, 01:12:49 PM »
It has to be an option, because we have numerous highlighting features.  Being able to mouse over a reference an see, "ok, that is highlighted because it is a reference to ..." is useful, at least for a new user.

rowbearto

  • Senior Community Member
  • Posts: 2325
  • Hero Points: 132
Re: How to remove popup "Reference to 'symbol'"
« Reply #5 on: May 09, 2023, 01:16:43 PM »
OK then I would appreciate having that option then.

Dennis

  • Senior Community Member
  • Posts: 3941
  • Hero Points: 515
Re: How to remove popup "Reference to 'symbol'"
« Reply #6 on: May 10, 2023, 04:20:12 PM »
Adding this for the first hot fix for 27.0.2.

After you get the hot fix, you can use this code to turn all of the new options off.
Code: [Select]
def_highlight_symbols_tooltips=false;
def_highlight_symbols_tooltips=false;
def_references_options |= VSREF_NO_TOOLTIPS;

rowbearto

  • Senior Community Member
  • Posts: 2325
  • Hero Points: 132
Re: How to remove popup "Reference to 'symbol'"
« Reply #7 on: May 10, 2023, 05:15:20 PM »
Thanks Dennis!