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.
createQuery(input); ISearchResult result = query. getSearchResult(); result. addListener(new ISearchResultListener() { public void searchResultChanged(SearchResultEvent e) { // -> export result } }); // run the query NewSearchUI. runQueryInBackground(query);
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.
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
I'm using Eclipse Search CSV Export.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With