Skip to content

Export should include all selected rows and all shown columns, and exclude any rows not selected #38

Open

Description

@EmanuelFaria

I'm using VisualGrep to search for keywords (eg. "antibacterial") in a directory containing subfolders, each containing an html page with the same filename: "scholarly.html".

The export function seems not to be working properly. It just spits out original the html pages, but reformatted depending on what app I choose to export to... in this screenshot, you'll see it in Microsoft excel:
Screenshot 2019-10-31 10 41 05

What I need is to be able to export the data exactly as I see it in VisualGrep... preferably, with only the columns I've shown, and preferably with the search term highlighted in the context just as it is in VisualGrep, and including the line number too, please.

Regarding export selection...

  1. If I turn off all the columns but one, just that one should be exported, please.
  2. If I deselect some rows, only the selected rows should be selected, please

Thanks!

Activity

  1. dafi commented on Nov 16, 2019

    @dafi
    Contributor

    export the data exactly as I see it in VisualGrep

    Currently you can copy (you use the term export) filenames and content, you need a new 'action' like 'copy whole row'

    For example if VisualGrep finds the text hello world into the file /mypath/file.html at line 10 you want to copy

    10<SEPARATOR>/mypath/file.html<SEPARATOR>hello world
    

    where <SEPARATOR> is a string like the TAB character

    Is this correct?

    with the search term highlighted in the context

    This sounds interesting, the format must be handled but it sounds easy

  2. EmanuelFaria commented on Nov 18, 2019

    @EmanuelFaria
    Author

    Yes! Correct!

  3. dafi commented on Nov 19, 2019

    @dafi
    Contributor

    Consider user can rearrange the columns order using drag and drop, so this order will be used to generate the output

  4. dafi commented on Dec 14, 2019

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions