Author Topic: Filter assignments and/or const in references  (Read 1728 times)

wvdb

  • Community Member
  • Posts: 26
  • Hero Points: 0
Filter assignments and/or const in references
« on: July 16, 2010, 07:24:41 AM »
In C++ projects:
When doing a reference search on a member variable, highlight the references that are within const functions.

This could give a quick overview where a variable can change.

Graeme

  • Senior Community Member
  • Posts: 2793
  • Hero Points: 347
Re: Filter assignments and/or const in references
« Reply #1 on: July 15, 2012, 01:51:04 AM »
If I put the cursor on a closing brace I would like the preview window to show me the code for the opening brace.

I would like a "find assignments" command similar to find references - it would find all the places where an assignment is made to the variable at the cursor.

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: Filter assignments and/or const in references
« Reply #2 on: July 15, 2012, 08:23:29 AM »
Quote
If I put the cursor on a closing brace I would like the preview window to show me the code for the opening brace.
A more general solution would be even better:
Show all 'next' matches of 'find_matching_paren' also covering begin/end pairs.
HS2

TKasparek

  • Senior Community Member
  • Posts: 246
  • Hero Points: 29
Re: Filter assignments and/or const in references
« Reply #3 on: August 20, 2012, 07:21:19 PM »
Quote
If I put the cursor on a closing brace I would like the preview window to show me the code for the opening brace.
A more general solution would be even better:
Show all 'next' matches of 'find_matching_paren' also covering begin/end pairs.
HS2

I REALLY like this idea!! I could see myself using this a lot with larger rewrites; trying to find a missed/to many braces.