Author Topic: Filter assignments and/or const in references  (Read 525 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: 2391
  • Hero Points: 315
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: 2738
  • Hero Points: 288
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: 221
  • Hero Points: 27
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.