Andy Lester

Results 496 comments of Andy Lester

I can certainly imagine use cases, but I'm asking what @tnelson-doghouse 's use case is that brought it up.

So it sounds like you're not using the acky things that make ack ack, like all the pretty color coding. If I'm understanding right, your suggested ack --field 2 tnelson...

I'm not really interested in doing this, but I'm not saying no yet.

I can't add a text filetype. There's no way that it could be meaningful. Someone else would think that text would include any number of things. Sorry, it just doesn't...

What does "independent of -x" mean? Which behavior is also confusing on the command line? Which way it can be embedded in ackrc?

> ack -f | ack -x --type=json foo # doesn't work today :( Please, don't conflate "doesn't work" with "doesn't do what I want it to do." ack -x works...

I've added a new ticket #368 for discussing a new flag that could act like `-x` but obey the type filters.

Can you add some sample code so I can get a better idea?

Do you have a real concrete example from something you're working on that you can post? And then include the errors you get from Perl::Critic, and what specifically you'd want...