Hey,
just wanted to let people know I've released AckMate - a plugin for searching your project files with 'ack'.
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
It's currently only compatible with OS X 10.5 and above (and only heavily tested on 10.6).
Source and binaries are included in the github project at http://github.com/protocool/AckMate and the project wiki contains instructions on how to use it.
Regards, Trev
-----Original Message----- From: Trevor Squires Sent: Thursday, March 25, 2010 9:32 AM To: TextMate users Subject: [TxMt] ANN: AckMate - a plugin to replace the ack-in-project bundle
Hey,
just wanted to let people know I've released AckMate - a plugin for searching your project files with 'ack'.
_______________________________________________
Hey, that's nice! Good job! I used the bundle a few times, but I think this will be more usable.
One issue I immediately noticed...I'm not sure if this is Ack or the plugin, or something that can be addressed, but I noticed a few files in my test search came back with that "let's not recognize the line-endings and treat the entire file as one big line" thing. So, the rest of the matches were the 5-line results as to be expected, but a few files were displayed with one line, although that line included the entire file, including line breaks. I'm assuming these files were touched by the guy on Windows, which usually seems to destroy this type of thing.
Not a deal breaker, but would be something nice to clean up, if possible. Otherwise, I'm looking forward to using this (and getting that Windows dork onto a Mac...)
+dru
Hi dru,
you should only see that if the input file has "\r" as the line separator (rather than "\n" or "\r\n").
Not sure what my options are there but I'll tinker with it when I have some spare time.
Trev
On Thu, Mar 25, 2010 at 9:55 AM, Dru Kepple dru@summitprojects.com wrote:
-----Original Message----- From: Trevor Squires Sent: Thursday, March 25, 2010 9:32 AM To: TextMate users Subject: [TxMt] ANN: AckMate - a plugin to replace the ack-in-project bundle
Hey,
just wanted to let people know I've released AckMate - a plugin for searching your project files with 'ack'.
Hey, that's nice! Good job! I used the bundle a few times, but I think this will be more usable.
One issue I immediately noticed...I'm not sure if this is Ack or the plugin, or something that can be addressed, but I noticed a few files in my test search came back with that "let's not recognize the line-endings and treat the entire file as one big line" thing. So, the rest of the matches were the 5-line results as to be expected, but a few files were displayed with one line, although that line included the entire file, including line breaks. I'm assuming these files were touched by the guy on Windows, which usually seems to destroy this type of thing.
Not a deal breaker, but would be something nice to clean up, if possible. Otherwise, I'm looking forward to using this (and getting that Windows dork onto a Mac...)
+dru
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Thu, Mar 25, 2010 at 12:32 PM, Trevor Squires trevor@protocool.com wrote:
Hey,
just wanted to let people know I've released AckMate - a plugin for searching your project files with 'ack'.
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
It's currently only compatible with OS X 10.5 and above (and only heavily tested on 10.6).
Source and binaries are included in the github project at http://github.com/protocool/AckMate and the project wiki contains instructions on how to use it.
Regards, Trev
--
Trevor Squires http://propaneapp.com
Hmmmmm,
I've been using Ack in project for quite a while.
I installed ackmate, and the first problem I ran into was it was complaining about not having the rb-appscript gem installed.
So I installed that, and now ctrl-option-cmd-f and I get a "Grep in project" window with just a text box and nothing else.
That doesn't seem to be what the usage page describes.
The Ackmate bundle doesn't show up in Textmates list of bundles, but when I unzipped the zip file and double clicked it again, It said it was already installed.
The other interesting thing is if I use ctrl-cmd-t to bring up the bundle item selection window, and then hit ctrl-option-cmd-f the ackmate dialog box comes up underneath the bundle item window.
Hmmmmmm again.
If I switch the bundle item window to find by key equivalent, I find that the ctrl-option-cmd-f key is claimed by the RubyAmp bundle which is where the grep in project window is coming from.
If I open the bundle editor, and filter Ack in project out of the list then ctrl-option-cmd-f does bring up the Ackmate window, but Ackmate is still not shown in my bundle list.
Very strange.
On Thu, Mar 25, 2010 at 1:27 PM, Rick DeNatale rick.denatale@gmail.com wrote:
If I open the bundle editor, and filter Ack in project out of the list then ctrl-option-cmd-f does bring up the Ackmate window, but Ackmate is still not shown in my bundle list.
Well that turned out to be a one-shot deal.
After I closed the ackmate window and did ctrl-option-cmd-f again, I got the grep in project window again instead.
Curioser and curioser
Hi Rick,
there are *no* external dependencies for AckMate apart from ack's reliance on perl. It should absolutely *never* complain about needing gems or the like...
First thing to do is make sure the plugin is installed properly. You should have a menu item of "Edit->Find->Search Project With AckMate..." - if that's there (and works when you select it) then you're okay.
Next, decide on the keyboard shorcut you want to use and from System Preferences go to "Keyboard->Keyboard Shortcuts".
From there you can add an application shortcut (the + button). The
menu text you're creating the shortcut for is "Search Project With AckMate...".
If you continue to have problems, please open a ticket on the github page - http://github.com/protocool/AckMate
Regards, Trev
On Thu, Mar 25, 2010 at 10:32 AM, Rick DeNatale rick.denatale@gmail.com wrote:
On Thu, Mar 25, 2010 at 1:27 PM, Rick DeNatale rick.denatale@gmail.com wrote:
If I open the bundle editor, and filter Ack in project out of the list then ctrl-option-cmd-f does bring up the Ackmate window, but Ackmate is still not shown in my bundle list.
Well that turned out to be a one-shot deal.
After I closed the ackmate window and did ctrl-option-cmd-f again, I got the grep in project window again instead.
Curioser and curioser
-- Rick DeNatale
Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Thanks for this.
On 26/03/2010, at 2:32 AM, Trevor Squires wrote:
Hey,
just wanted to let people know I've released AckMate - a plugin for searching your project files with 'ack'.
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
It's currently only compatible with OS X 10.5 and above (and only heavily tested on 10.6).
Source and binaries are included in the github project at http://github.com/protocool/AckMate and the project wiki contains instructions on how to use it.
Regards, Trev
--
Trevor Squires http://propaneapp.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Trevor,
Awesome! Ack in Project was already the bundle I was using the most, so I am looking forward to using AckMate.
With the new AckMate, when I do a search in my project and click a line in the search results, it opens the file in a new window instead of a tab of the window in which my project is open. Is this a bug, a feature? Is there a way to make AckMate open that file in a tab?
Alex
Trevor Squires wrote:
Hey,
just wanted to let people know I've released AckMate - a plugin for searching your project files with 'ack'.
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
It's currently only compatible with OS X 10.5 and above (and only heavily tested on 10.6).
Source and binaries are included in the github project at http://github.com/protocool/AckMate and the project wiki contains instructions on how to use it.
Regards, Trev
--
Trevor Squires http://propaneapp.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet
Hi Alex,
it's not a feature, but it may not (quite) be a bug either. I just put up a page on the wiki explaining the situation:
http://wiki.github.com/protocool/AckMate/why-didnt-my-file-open-in-a-tab
Regards, Trev
On Thu, Mar 25, 2010 at 6:21 PM, Alessandro Vernet avernet@scdi.org wrote:
Trevor,
Awesome! Ack in Project was already the bundle I was using the most, so I am looking forward to using AckMate.
With the new AckMate, when I do a search in my project and click a line in the search results, it opens the file in a new window instead of a tab of the window in which my project is open. Is this a bug, a feature? Is there a way to make AckMate open that file in a tab?
Alex
Trevor Squires wrote:
Hey,
just wanted to let people know I've released AckMate - a plugin for searching your project files with 'ack'.
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
It's currently only compatible with OS X 10.5 and above (and only heavily tested on 10.6).
Source and binaries are included in the github project at http://github.com/protocool/AckMate and the project wiki contains instructions on how to use it.
Regards, Trev
--
Trevor Squires http://propaneapp.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- View this message in context: http://old.nabble.com/ANN%3A-AckMate---a-plugin-to-replace-the-ack-in-projec... Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Ok, I've remapped the grep in project in the RubyAmp bundle so now ctrl-alt-cmd-f does bring up the ack dialog.
But I'm a bit frustrated by the options field.
I've got some .thor files in a project, and they aren't being searched, so I tried to add the option
--type-add ruby=.thor but as soon as I add the needed space after --type-add the dialog puts a blue "button" around the --type=add, if I continue to type ruby=.thor and hit enter, the ruby=.thor disappears. It kind of works if instead of enter I hit the search button, It gets the blue button around the ruby=.thor, and it does search the thor files, but after the search as soon as I give focus to the option field, the ruby=.thor disappears.
On Thu, Mar 25, 2010 at 11:09 PM, Trevor Squires trevor@protocool.com wrote:
Hi Alex,
it's not a feature, but it may not (quite) be a bug either. I just put up a page on the wiki explaining the situation:
http://wiki.github.com/protocool/AckMate/why-didnt-my-file-open-in-a-tab
Regards, Trev
On Thu, Mar 25, 2010 at 6:21 PM, Alessandro Vernet avernet@scdi.org wrote:
Trevor,
Awesome! Ack in Project was already the bundle I was using the most, so I am looking forward to using AckMate.
With the new AckMate, when I do a search in my project and click a line in the search results, it opens the file in a new window instead of a tab of the window in which my project is open. Is this a bug, a feature? Is there a way to make AckMate open that file in a tab?
Alex
Trevor Squires wrote:
Hey,
just wanted to let people know I've released AckMate - a plugin for searching your project files with 'ack'.
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
It's currently only compatible with OS X 10.5 and above (and only heavily tested on 10.6).
Source and binaries are included in the github project at http://github.com/protocool/AckMate and the project wiki contains instructions on how to use it.
Regards, Trev
--
Trevor Squires http://propaneapp.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- View this message in context: http://old.nabble.com/ANN%3A-AckMate---a-plugin-to-replace-the-ack-in-projec... Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
--
Trevor Squires http://propaneapp.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi Rick,
AckMate uses the same --type-add and --type-set syntax that you use when defining those options permanently in your ~/.ackrc file.
Namely, you use a '=' after the --type-add rather than a space:
--type-add=ruby=.thor
Incidentally, if a .thor file should always be considered 'ruby' then you should put that option into your ~/.ackrc file.
If you continue to have problems then please open a ticket on http://github.com/protocool/AckMate/issues
Regards, Trev
On Fri, Mar 26, 2010 at 5:24 AM, Rick DeNatale rick.denatale@gmail.com wrote:
Ok, I've remapped the grep in project in the RubyAmp bundle so now ctrl-alt-cmd-f does bring up the ack dialog.
But I'm a bit frustrated by the options field.
I've got some .thor files in a project, and they aren't being searched, so I tried to add the option
--type-add ruby=.thor but as soon as I add the needed space after --type-add the dialog puts a blue "button" around the --type=add, if I continue to type ruby=.thor and hit enter, the ruby=.thor disappears. It kind of works if instead of enter I hit the search button, It gets the blue button around the ruby=.thor, and it does search the thor files, but after the search as soon as I give focus to the option field, the ruby=.thor disappears.
On Thu, Mar 25, 2010 at 11:09 PM, Trevor Squires trevor@protocool.com wrote:
Hi Alex,
it's not a feature, but it may not (quite) be a bug either. I just put up a page on the wiki explaining the situation:
http://wiki.github.com/protocool/AckMate/why-didnt-my-file-open-in-a-tab
Regards, Trev
On Thu, Mar 25, 2010 at 6:21 PM, Alessandro Vernet avernet@scdi.org wrote:
Trevor,
Awesome! Ack in Project was already the bundle I was using the most, so I am looking forward to using AckMate.
With the new AckMate, when I do a search in my project and click a line in the search results, it opens the file in a new window instead of a tab of the window in which my project is open. Is this a bug, a feature? Is there a way to make AckMate open that file in a tab?
Alex
Trevor Squires wrote:
Hey,
just wanted to let people know I've released AckMate - a plugin for searching your project files with 'ack'.
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
It's currently only compatible with OS X 10.5 and above (and only heavily tested on 10.6).
Source and binaries are included in the github project at http://github.com/protocool/AckMate and the project wiki contains instructions on how to use it.
Regards, Trev
--
Trevor Squires http://propaneapp.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- View this message in context: http://old.nabble.com/ANN%3A-AckMate---a-plugin-to-replace-the-ack-in-projec... Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
--
Trevor Squires http://propaneapp.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
-- Rick DeNatale
Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi Trev,
The strange thing is that the file I was trying to open was present in the project drawer. I didn't manage to reproduce the problem with a new and simpler project, and the issue went away after I recreated the project I am working on. I am not sure what was causing this, but recreating the project seems to be an easy workaround.
Alex
Trevor Squires wrote:
Hi Alex,
it's not a feature, but it may not (quite) be a bug either. I just put up a page on the wiki explaining the situation:
http://wiki.github.com/protocool/AckMate/why-didnt-my-file-open-in-a-tab
Regards, Trev
On Thu, Mar 25, 2010 at 6:21 PM, Alessandro Vernet avernet@scdi.org wrote:
Trevor,
Awesome! Ack in Project was already the bundle I was using the most, so I am looking forward to using AckMate.
With the new AckMate, when I do a search in my project and click a line in the search results, it opens the file in a new window instead of a tab of the window in which my project is open. Is this a bug, a feature? Is there a way to make AckMate open that file in a tab?
Alex
Trevor Squires wrote:
Hey,
just wanted to let people know I've released AckMate - a plugin for searching your project files with 'ack'.
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
It's currently only compatible with OS X 10.5 and above (and only heavily tested on 10.6).
Source and binaries are included in the github project at http://github.com/protocool/AckMate and the project wiki contains instructions on how to use it.
Regards, Trev
--
Trevor Squires http://propaneapp.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- View this message in context: http://old.nabble.com/ANN%3A-AckMate---a-plugin-to-replace-the-ack-in-projec... Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
--
Trevor Squires http://propaneapp.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet
Dear Trevor,
Le 25 mars 2010 à 17:32, Trevor Squires a écrit :
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
Nice GUI, indeed!
But it seems that one feature previously present in "Ack in Project" is missing: when a folder is selected in the project Drawer, Ack in Project used to search only in this folder. It seems that this is not possible anymore. This is a pity when using big projects.
An other handy feature would be to add a help button in the search interface to quickly jump to the wiki.
BTW, I love the "per-project" approach.
Best regards, Mathieu
___________________________________________
Mathieu Godart
ASIC Integration Manager Coolsand Technologies ___________________________________________
I will second the call for restricting search to $TM_SELECTED_FILES, it's super helpful!
Eric O'Connell Lead Developer - eric@bodytalksystem.com www.bodytalksystem.com
On Mar 29, 2010, at 4:14 AM, Mathieu Godart wrote:
Dear Trevor,
Le 25 mars 2010 à 17:32, Trevor Squires a écrit :
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
Nice GUI, indeed!
But it seems that one feature previously present in "Ack in Project" is missing: when a folder is selected in the project Drawer, Ack in Project used to search only in this folder. It seems that this is not possible anymore. This is a pity when using big projects.
An other handy feature would be to add a help button in the search interface to quickly jump to the wiki.
BTW, I love the "per-project" approach.
Best regards, Mathieu
Mathieu Godart
ASIC Integration Manager Coolsand Technologies ___________________________________________
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hey guys,
limiting search to your selected folder is done, I'll be making a release today.
In future it's probably best to mention bugs and feature requests on http://github.com/protocool/AckMate/issues so that it doesn't add too much noise to this list.
Thanks, Trev
On Mon, Mar 29, 2010 at 10:10 AM, Eric O'Connell eric@bodytalksystem.com wrote:
I will second the call for restricting search to $TM_SELECTED_FILES, it's super helpful!
Eric O'Connell Lead Developer
eric@bodytalksystem.com www.bodytalksystem.com
On Mar 29, 2010, at 4:14 AM, Mathieu Godart wrote:
Dear Trevor,
Le 25 mars 2010 à 17:32, Trevor Squires a écrit :
It offers significant improvements over my previous ack-in-project bundle, such as per-project windows and settings, filetype selection, and a much less annoying UI.
Nice GUI, indeed!
But it seems that one feature previously present in "Ack in Project" is missing: when a folder is selected in the project Drawer, Ack in Project used to search only in this folder. It seems that this is not possible anymore. This is a pity when using big projects.
An other handy feature would be to add a help button in the search interface to quickly jump to the wiki.
BTW, I love the "per-project" approach.
Best regards, Mathieu
Mathieu Godart
ASIC Integration Manager Coolsand Technologies ___________________________________________
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Le 29 mars 2010 à 19:23, Trevor Squires a écrit :
limiting search to your selected folder is done, I'll be making a release today.
Wow! This was fast. Great. Thank you.
In future it's probably best to mention bugs and feature requests on http://github.com/protocool/AckMate/issues so that it doesn't add too much noise to this list.
You're right. This list is probably not the appropriate place for issue tracking.
Sorry for the noise.
Best regards, Mathieu
___________________________________________
Mathieu Godart
ASIC Integration Manager Coolsand Technologies ___________________________________________
On 3/25/10 5:32 PM, Trevor Squires wrote:
Source and binaries are included in the github project at http://github.com/protocool/AckMate and the project wiki contains instructions on how to use it.
Could you use AckMate.tmbundle as the github name? That way, GetBundles should be able to pick it up.
Thanks,
Christopher