Giter Site home page Giter Site logo

Comments (15)

everettjf avatar everettjf commented on June 26, 2024

Yes, it may lose focus on the generated file after each filtering.

e.g.
When filtering file foo.log, the 1st filter action generates foo.log.filterling.log.
NOW, if we continue filter on the foo.log.filterling.log, the 2nd result is empty, which is a bug.

BUT, we could fix(skip) the bug by Click the result foo.log.filterling.log.
SO, the order is:

  1. 1st filter
  2. click the result file in the vscode
  3. 2nd filter

I will try to fix it in a few days.

from vscode-filter-line.

lovettchris avatar lovettchris commented on June 26, 2024

I'm hitting this too, I'd love to be able to change the filter rather than generating a new filterline.log file for every filter. For example I have log files with interleaved output for each thread, and I want to see thread 1, then 2, then 3 and so on quickly re-filtering for each. It's nice to have a separate view so I can also see the original file side by side. But having the filter operation only work once is a show stopper for me.

from vscode-filter-line.

everettjf avatar everettjf commented on June 26, 2024

@lovettchris Thanks for your response. I'm on it.
Is "thread 1, then 2, then 3 and so on" means something like "filterline.log, filterline.1.log, filterline.3.log and so on" ?

from vscode-filter-line.

everettjf avatar everettjf commented on June 26, 2024

Which one do you prefer?

  1. "filterline.log, filterline.1.log, filterline.3.log and so on"
  2. repeated filtering on the same file "filterline.log"

from vscode-filter-line.

lovettchris avatar lovettchris commented on June 26, 2024

(2) repeated filtering on the same file, so I can open the original file, filter it, see the results, and repeat, without having to close a bunch of new windows every time...

from vscode-filter-line.

everettjf avatar everettjf commented on June 26, 2024

v1.2.2 published. please update and try.

from vscode-filter-line.

NARBEDA avatar NARBEDA commented on June 26, 2024

I doesn't work for me! I still must reopen VS Code for next filtering. Am I doing something wrong?

from vscode-filter-line.

everettjf avatar everettjf commented on June 26, 2024

HI , @NARBEDA

  1. reopen vscode ? or click the result buffer ?
  2. Windows or macOS ?

from vscode-filter-line.

NARBEDA avatar NARBEDA commented on June 26, 2024

Yes, I've to reopen vscode, to do the next search. I only can do one search! It's on Windows! Are there some special Settings?

from vscode-filter-line.

chraac avatar chraac commented on June 26, 2024

v1.2.2 still doesn't work! and here to reproduce:

  1. filter with regex
  2. close filter result
  3. filter with another regex

And it's windows 7 with vscode 1.31.1

from vscode-filter-line.

everettjf avatar everettjf commented on June 26, 2024

Hi all, I have temporarily fixed the bug on Windows. Please update and retry.
(But still exists a little problem, repeated filter action will produce some temporary files, when you close vscode, these files will auto-removed. I still do not know the reason and will work on it.

from vscode-filter-line.

lovettchris avatar lovettchris commented on June 26, 2024

I have 1.2.8 and still only works once on a given file.

from vscode-filter-line.

chraac avatar chraac commented on June 26, 2024

Thanks to reply, and bug still exist in the same routine with 1.2.8

from vscode-filter-line.

everettjf avatar everettjf commented on June 26, 2024

Hello everyone, now I can say "the bug is fixed" with 1.2.10
PS:

        let writeStream = fs.createWriteStream(outputPath);

The writeStream need to be closed explicity on Windows.

from vscode-filter-line.

NARBEDA avatar NARBEDA commented on June 26, 2024

Works perfect! Many thanks!

from vscode-filter-line.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.