Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - Export/Save Search Results

Tags:

search

eclipse

Eclipse's Search results view is quite handy with its tree-like structure. Is there any way to export these results to a readable text format or save them to a file for later use?

I've tried using copy & paste but the resulting text format is far from readable.

like image 225
urig Avatar asked Mar 17 '11 12:03

urig


People also ask

How do I export Eclipse search results?

createQuery(input); ISearchResult result = query. getSearchResult(); result. addListener(new ISearchResultListener() { public void searchResultChanged(SearchResultEvent e) { // -> export result } }); // run the query NewSearchUI. runQueryInBackground(query);

How do I export changes in Eclipse?

You can do this by setting key shortcut for export and using it while having relevant files selected pretty much everywhere in Eclipse including synchronize view. Go to Windows > Preferences > General > Keys search for "Export" and bind it to a key.


2 Answers

You can change the mode from tree to list by click 'upper-right corner triangle' ->'show in list', then just copy all the files in the list , it will be a perfect list of search result

like image 183
Jammy Lee Avatar answered Oct 05 '22 23:10

Jammy Lee


I'm using Eclipse Search CSV Export.

like image 42
Mayoares Avatar answered Oct 06 '22 00:10

Mayoares