New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Project Find Results to be copied to clipboard #416

Open
pascalpp opened this Issue Jun 27, 2015 · 39 comments

Comments

Projects
None yet
@pascalpp

pascalpp commented Jun 27, 2015

When searching a project, it would be nice to be able to copy the results to the clipboard for sharing with other team members, etc.

@izuzak izuzak added the enhancement label Jun 27, 2015

@bronson

This comment has been minimized.

Show comment
Hide comment
@bronson

bronson Jul 31, 2015

Yes!! Also so I could use the results in a text buffer. Re-order the results, search them, etc.

bronson commented Jul 31, 2015

Yes!! Also so I could use the results in a text buffer. Re-order the results, search them, etc.

@benogle

This comment has been minimized.

Show comment
Hide comment
@benogle

benogle Aug 11, 2015

Contributor

search them

We really should support using the find in buffer view in a project results pane item.

Contributor

benogle commented Aug 11, 2015

search them

We really should support using the find in buffer view in a project results pane item.

@ju-Skinner

This comment was marked as spam.

Show comment
Hide comment
@ju-Skinner

ju-Skinner commented Aug 25, 2015

+1

@sgb-io

This comment has been minimized.

Show comment
Hide comment
@sgb-io

sgb-io Sep 23, 2015

+1

For anyone looking to do this quick + dirty, you can hack it by copying the output html (devtools), paste into a browser tab, copy as normal

sgb-io commented Sep 23, 2015

+1

For anyone looking to do this quick + dirty, you can hack it by copying the output html (devtools), paste into a browser tab, copy as normal

@stevenmills

This comment was marked as spam.

Show comment
Hide comment
@stevenmills

stevenmills commented Dec 21, 2015

+1

@JPvRiel

This comment was marked as spam.

Show comment
Hide comment
@JPvRiel

JPvRiel commented Jan 4, 2016

+1

@LePhil

This comment has been minimized.

Show comment
Hide comment
@LePhil

LePhil Jan 6, 2016

+1, and thanks to @sgb-io for the trick, it's so easy to forget about the dev-tools in Atom 👍

LePhil commented Jan 6, 2016

+1, and thanks to @sgb-io for the trick, it's so easy to forget about the dev-tools in Atom 👍

@brammittendorff

This comment was marked as spam.

Show comment
Hide comment
@brammittendorff

brammittendorff commented Feb 29, 2016

+1

@dbatwa

This comment was marked as spam.

Show comment
Hide comment
@dbatwa

dbatwa commented Mar 1, 2016

+1

@freemanjr

This comment was marked as spam.

Show comment
Hide comment
@freemanjr

freemanjr commented Mar 3, 2016

+1

@drosenstark

This comment was marked as spam.

Show comment
Hide comment
@drosenstark

drosenstark commented Mar 23, 2016

+1

@dsharpen

This comment was marked as spam.

Show comment
Hide comment
@dsharpen

dsharpen commented Mar 23, 2016

+1

@pjux-old

This comment was marked as spam.

Show comment
Hide comment
@pjux-old

pjux-old commented Apr 14, 2016

+1

@bijeebuss

This comment was marked as spam.

Show comment
Hide comment
@bijeebuss

bijeebuss commented May 12, 2016

+1

@thomas-lee

This comment was marked as spam.

Show comment
Hide comment
@thomas-lee

thomas-lee commented May 25, 2016

+1

@JoshSchofield

This comment was marked as spam.

Show comment
Hide comment
@JoshSchofield

JoshSchofield commented Jun 1, 2016

+1

@MLubinski

This comment was marked as spam.

Show comment
Hide comment
@MLubinski

MLubinski commented Jun 6, 2016

+1

@brunnolou

This comment was marked as spam.

Show comment
Hide comment
@brunnolou

brunnolou commented Jun 9, 2016

+1

@Robin-front

This comment was marked as spam.

Show comment
Hide comment
@Robin-front

Robin-front commented Jun 20, 2016

+1

@ivanmilosavljevic

This comment was marked as spam.

Show comment
Hide comment
@ivanmilosavljevic

ivanmilosavljevic commented Jun 29, 2016

+1

@kylefritz

This comment was marked as spam.

Show comment
Hide comment
@kylefritz

kylefritz commented Aug 2, 2016

+1

@n0ne

This comment was marked as spam.

Show comment
Hide comment
@n0ne

n0ne commented Mar 6, 2017

+1

@zohozer

This comment was marked as spam.

Show comment
Hide comment
@zohozer

zohozer commented Mar 20, 2017

+1

@OmeGak

This comment has been minimized.

Show comment
Hide comment
@OmeGak

OmeGak Mar 22, 2017

We really should support using the find in buffer view in a project results pane item.

Really looking forward to that.

OmeGak commented Mar 22, 2017

We really should support using the find in buffer view in a project results pane item.

Really looking forward to that.

@zohozer

This comment has been minimized.

Show comment
Hide comment
@zohozer

zohozer Apr 1, 2017

Please check how it is handling SublimeText this task. Basically it is creating a new file which contains all the "search in project" results so furthermore you can apply new filters to the search result or just copy/paste elsewhere if you need.

zohozer commented Apr 1, 2017

Please check how it is handling SublimeText this task. Basically it is creating a new file which contains all the "search in project" results so furthermore you can apply new filters to the search result or just copy/paste elsewhere if you need.

@OmeGak

This comment has been minimized.

Show comment
Hide comment
@OmeGak

OmeGak Apr 2, 2017

Yes, but SublimeText doesn't allow goto/collapsing results from the "Search in project" tab. I don't think a simple plain text file is the way to go.

OmeGak commented Apr 2, 2017

Yes, but SublimeText doesn't allow goto/collapsing results from the "Search in project" tab. I don't think a simple plain text file is the way to go.

@gnbl

This comment has been minimized.

Show comment
Hide comment
@gnbl

gnbl May 3, 2017

+1
Find in Buffer currently (1.16.0) does not create a search results list as Find in Project can. Copying the matches is not possible. It is not very good for working with data except for the basic Find-And-Replace. I have to resort to Notepad++ to extract specific lines.
Maybe https://atom.io/packages/find-list can help. No it can't as the list can't be copied.

gnbl commented May 3, 2017

+1
Find in Buffer currently (1.16.0) does not create a search results list as Find in Project can. Copying the matches is not possible. It is not very good for working with data except for the basic Find-And-Replace. I have to resort to Notepad++ to extract specific lines.
Maybe https://atom.io/packages/find-list can help. No it can't as the list can't be copied.

@Swivelgames

This comment has been minimized.

Show comment
Hide comment
@Swivelgames

Swivelgames Jul 26, 2017

@pascalpp I'm having this issue as well. So, I landed on this issue, saw it wasn't resolved, and decided to throw a package together.

I literally just threw this together in a few hours. If it helps someone, awesome!

Install here: https://atom.io/packages/copy-find-results

It will copy the results of a "Find In Project" search to your clipboard and opens the copied text in a new buffer. You can invoke it via the Command Palette or the Context Menu if you're perusing a results buffer. Additionally, you can setup your keymap to call either copy-find-results:text or copy-find-results:json.

Please write issue tickets in the repo if you have any. I will be very prompt in resolving them: https://github.com/Swivelgames/copy-find-results/issues

Swivelgames commented Jul 26, 2017

@pascalpp I'm having this issue as well. So, I landed on this issue, saw it wasn't resolved, and decided to throw a package together.

I literally just threw this together in a few hours. If it helps someone, awesome!

Install here: https://atom.io/packages/copy-find-results

It will copy the results of a "Find In Project" search to your clipboard and opens the copied text in a new buffer. You can invoke it via the Command Palette or the Context Menu if you're perusing a results buffer. Additionally, you can setup your keymap to call either copy-find-results:text or copy-find-results:json.

Please write issue tickets in the repo if you have any. I will be very prompt in resolving them: https://github.com/Swivelgames/copy-find-results/issues

@psmitt

This comment has been minimized.

Show comment
Hide comment
@psmitt

psmitt Jul 27, 2017

Nice job!
Actually I struggled with extracting scope names from the core module's grammars.
I searched for Regex "name":"[^"]*" under Path */grammars/*.json and with copy-find-results I managed to copy all lines into a tab. Then a repeated search, just in the buffer, with an Alt+Enter gave me the result list onto my clipboard.
Thanks a lot @Swivelgames [ greetings also to @pascalpp ;) ] !

psmitt commented Jul 27, 2017

Nice job!
Actually I struggled with extracting scope names from the core module's grammars.
I searched for Regex "name":"[^"]*" under Path */grammars/*.json and with copy-find-results I managed to copy all lines into a tab. Then a repeated search, just in the buffer, with an Alt+Enter gave me the result list onto my clipboard.
Thanks a lot @Swivelgames [ greetings also to @pascalpp ;) ] !

@pascalpp

This comment has been minimized.

Show comment
Hide comment
@pascalpp

pascalpp Jul 27, 2017

(Pretty sure you mean @Swivelgames : )

pascalpp commented Jul 27, 2017

(Pretty sure you mean @Swivelgames : )

@Swivelgames

This comment has been minimized.

Show comment
Hide comment
@Swivelgames

Swivelgames Jul 27, 2017

@psmitt Glad it worked! 😃

( @pascalpp thanks :P )

Swivelgames commented Jul 27, 2017

@psmitt Glad it worked! 😃

( @pascalpp thanks :P )

@barbaracabral

This comment was marked as spam.

Show comment
Hide comment
@barbaracabral

barbaracabral commented Aug 10, 2017

+1

@ggderas

This comment was marked as spam.

Show comment
Hide comment
@ggderas

ggderas commented Oct 2, 2017

+1

@Swivelgames

This comment has been minimized.

Show comment
Hide comment
@Swivelgames

Swivelgames Oct 4, 2017

@barbaracabral @ggderas Not trying to plug, but it's helped me, and I'm not sure if it's priority for the contributors to implement this type of functionality. As mentioned before, threw something together that seems to work well.

Install here: https://atom.io/packages/copy-find-results
Issues: https://github.com/Swivelgames/copy-find-results/issues
(Original Post)

Hope it helps.

Swivelgames commented Oct 4, 2017

@barbaracabral @ggderas Not trying to plug, but it's helped me, and I'm not sure if it's priority for the contributors to implement this type of functionality. As mentioned before, threw something together that seems to work well.

Install here: https://atom.io/packages/copy-find-results
Issues: https://github.com/Swivelgames/copy-find-results/issues
(Original Post)

Hope it helps.

@phil-veloso

This comment was marked as spam.

Show comment
Hide comment
@phil-veloso

phil-veloso commented Nov 30, 2017

+1

@Kidaas

This comment was marked as spam.

Show comment
Hide comment
@Kidaas

Kidaas commented Dec 28, 2017

+1

@dgboy2000

This comment was marked as spam.

Show comment
Hide comment
@dgboy2000

dgboy2000 commented Mar 9, 2018

+1

@lerrigatto

This comment was marked as spam.

Show comment
Hide comment
@lerrigatto

lerrigatto commented Mar 27, 2018

+1

@BIskand3

This comment was marked as spam.

Show comment
Hide comment
@BIskand3

BIskand3 commented May 31, 2018

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment