Tuesday, May 25, 2010

Little Eclipse Gem - Regex Syntax in search...

I have been using eclipse for quite some time, but discovered a neat little feature today. When doing a file search select the Regular Expression checkbox... then hit Ctrl + Space on the search field.

Tah-dahh Content assist and basic syntax checking for regular expression searches...

Very handy when I needed to find / replace some very specific XML used across about 30 projects...

The query:
\Q\E.+\Q\E

No comments:

Post a Comment

Popular Posts

Followers