I have an eclipse project with a number of sql queries here and there. I wonder if I can perform a search on eclipse for all insert statements in the project, and have eclipse pipe the output into stdo开发者_如何学编程ut or a file printed in a list format; the file should contain only the search matches and not the project hierarchy
In search view menu. Change the search view layout from Show as Tree
to Show as List
then press Ctrl + A to select all result and paste it to other file or editor.
Edit:
If you want line number details also then you can use Eclipse Search CSV Export plugin.
精彩评论