Home Download Buy Blog Forum Support

20100118 Beta

20100118 Beta

Postby jps on Mon Jan 18, 2010 12:35 pm

20100118 is out, now with find in files support, including find in project.

The replace panel has also received a makeover, and there are application options (project.direxclude and project.exclude) to control the defaults for new project, and the values used when opening a directory as a project.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20100118 Beta

Postby Seldaek on Mon Jan 18, 2010 3:32 pm

Damn, just when I create a new plugin to quickly switch projects with Ctrl+Shift+P you add a native binding on it.

Just kidding, it's awesome thank you. Having colors in the output might be cool though, to highlight the match (see grep --color), but I'm not sure if that's possible in ST atm.

It even supports clicking to open files, that's brilliant, I though it was just a console dump. I just wish replace in files is in the pipeline :)

Also would be cool if the "Add Directory" dialog would be opened at least with the main project directory (or current buffer dirname) focused so we don't have to dig through all the mess every time.

Cheers!
Seldaek
 
Posts: 27
Joined: Mon Oct 26, 2009 9:50 am

Re: 20100118 Beta

Postby ekolguy on Mon Jan 18, 2010 8:47 pm

Outstanding release!
Now, the only thing on my wish list (except linux support of course) is a project pane (with basic file management), because sometimes I just don't happen to know the file names in the project to make use of quick open feature. I guess old habits die hard..
ekolguy
 
Posts: 41
Joined: Thu Dec 17, 2009 8:50 am

Re: 20100118 Beta

Postby ohright on Mon Jan 18, 2010 9:51 pm

@ekolguy, for some reason they haven't responded to forum requests for a project pane, and I've been told a project pane isn't planned & won't happen any time soon. Maybe it's not hard-core enough for sublime?
ohright
 
Posts: 2
Joined: Thu Jan 14, 2010 11:58 am

Re: 20100118 Beta

Postby mike on Tue Jan 19, 2010 8:37 am

Thrilled to see the recent changes! Nice work.

One question; is there a way to specify extension filters for the "Find in Files" at all? Say, only to search through *.txt files, etc? Or what is the logic to determine what files it does search?
mike
 
Posts: 7
Joined: Thu Oct 01, 2009 7:42 pm

Re: 20100118 Beta

Postby jps on Tue Jan 19, 2010 9:32 am

mike wrote:is there a way to specify extension filters for the "Find in Files" at all?


Not yet, but I'm planning to add this, along with highlighting the matching text, and adding an option to disable recursing through the directories. Currently binary files are ignored though.

If you search through the project by entering "<project>" as a directory, then only files in the project will be included.

Also, I just released 20100119, to fix a memory leak with find in files in the previous version.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20100118 Beta

Postby jbjornson on Tue Jan 19, 2010 10:20 am

It is great to see find in files implemented...thanks a lot!

Quick question: what is the difference between: "findInProject" (ctrl+shift+p) and "showPanel findInFiles" (ctrl+shift+f)? They look the same when invoked and both have "<project>" as the default in the directory field. Personally I would prefer that "showPanel findInFiles" default to the current directory...
jbjornson
 
Posts: 353
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: 20100118 Beta

Postby jps on Tue Jan 19, 2010 10:26 am

"showPanel findInFiles" will show the find in files panel, with the last location used set in the location field. "findInProject" will show the find in files panel, with the location field set to "<project>". If the last used location was "<project>", then yeah, they do the same thing.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20100118 Beta

Postby jbjornson on Tue Jan 19, 2010 10:58 am

Ok...makes perfect sense. Thanks.

One thing I also noticed: it seems like findInFiles/findInProject doesn't respect the "find.useSelectedText" property.
jbjornson
 
Posts: 353
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: 20100118 Beta

Postby jps on Tue Jan 19, 2010 11:18 am

Good catch, I'll add it to the todo list.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: demetris, Exabot [Bot], Yahoo [Bot] and 21 guests