Abdellazizhammami / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Find function "tagging" #724

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?

A way to "tag" all matches in a sketch that match a given "Find" criteria. The 
"tag" could be a highlight colour, or some other method.

The "tag(s)" would be removable with a menu or dialog-box choice. Subsequent 
searches would by default add tags.

This would require the Find to become a distinct function, as previously 
mentioned.

Why?

A very useful feature when examining code to find variable/function usage, or 
any other repeated element

Would this cause any incompatibilities with previous versions?  If so, how
can these be mitigated?

None.

Original issue reported on code.google.com by awebu...@hotmail.com on 21 Nov 2011 at 3:23

GoogleCodeExporter commented 9 years ago
This sounds like a somewhat specific, not super-useful function, so I doubt 
it's something we'd be adding any time soon.

Original comment by dmel...@gmail.com on 21 Nov 2011 at 7:46

GoogleCodeExporter commented 9 years ago
This sounds like a somewhat specific, not super-useful function, so I doubt 
it's something we'd be adding any time soon.

Original comment by dmel...@gmail.com on 21 Nov 2011 at 7:46

GoogleCodeExporter commented 9 years ago
In an open-source environment it is actually very useful, since quite often 
you're working with unfamiliar code.

If you're trying to understand how a certain function, variable or feature is 
coded or used, it's incredibly handy to have the editor highlight all 
occurrences where that function/variable is used, without having to step 
through them manually with a  CTRL-G (which really isn't the same at all since 
you have no quick scope of use that tagging gives)

Quite a few text editors mark/tag the matches in the left margin on a 
line-basis, not actually marking the match itself, which is fine, and probably 
less distracting.

Original comment by awebu...@hotmail.com on 23 Nov 2011 at 6:19