Finding all matching open/close tags in Eclipse

Posted by Dan on Oct 7, 2008 @ 12:18 PM

If you want to quickly find all matching open and close tags, you can use the following regular expression:


You can use this from either the Global Search (CTRL+H) or from the Find/Replace (CTRL+F) dialogs (just remember to check the "regular expressions" option.)

The "(?is)" makes the regular expression ignore case and search over multiple lines. Just replace the string "TAGNAME" with the tag you want to search. For example, to find all <cfloop> tags, just do:


Categories: HTML/ColdFusion


Comments for this entry have been disabled.