Sublime Forum

20100118 Beta

#1

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.

0 Likes

#2

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 :smile:

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!

0 Likes

#3

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…

0 Likes

#4

@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?

0 Likes

#5

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?

0 Likes

#6

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 “” 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.

0 Likes

#7

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 “” as the default in the directory field. Personally I would prefer that “showPanel findInFiles” default to the current directory…

0 Likes

#8

“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 “”. If the last used location was “”, then yeah, they do the same thing.

0 Likes

#9

Ok…makes perfect sense. Thanks.

One thing I also noticed: it seems like findInFiles/findInProject doesn’t respect the “find.useSelectedText” property.

0 Likes

#10

Good catch, I’ll add it to the todo list.

0 Likes

#11

I’ve got nothing against a tree view for the project, I’d like to see it in there. It’s presently not at the top of the priority list though, so I don’t know when I’ll be able to start working on it - I certainly can’t commit to a time frame.

0 Likes

#12

Nice work on the release. Thx for default global project settings :smiley:

[quote=“jps”]

I’ve got nothing against a tree view for the project, I’d like to see it in there. It’s presently not at the top of the priority list though, so I don’t know when I’ll be able to start working on it - I certainly can’t commit to a time frame.[/quote]

If you add some sort of GUI APIs so we can do panels/dialogs and manipulate them I think community can take care of the rest :smiley:

That way we could create a panel and put whatever we want in there such a list of “open windows/tabs” ctrl+shift+o functionality but mouse lovers will appreciate it trust me lol.
List of bookmarks, list of CTAGS (functions/variables in current file), “Work”/Project Folder file listing, crap we might even do FTP lol… but I think I am asking for too much lol… oh well let’s see when we can get some GUI APIs

0 Likes

#13

I’m getting this: http://i49.tinypic.com/2ilke4m.jpg

How do you want me to gather more data on the fault?

0 Likes

#14

Thanks for the Find in Files, works good.

Had a idea also.

A option to peload all files of a given extension might speed up searches through a code base and usually text will only occupy a couple hundred megs. Nothing on a good dev platform.

0 Likes

#15

[quote=“ifni”]I’m getting this: http://i49.tinypic.com/2ilke4m.jpg

How do you want me to gather more data on the fault?[/quote]

There is an issue in the current implementation where it will run out of memory if a large file (few hundred megs) is searched through. This will be fixed in the next beta. If this isn’t what’s happening for you, then more data would be great.

0 Likes

#16

[quote=“jps”]

[quote=“ifni”]I’m getting this:

How do you want me to gather more data on the fault?[/quote]

There is an issue in the current implementation where it will run out of memory if a large file (few hundred megs) is searched through. This will be fixed in the next beta. If this isn’t what’s happening for you, then more data would be great.[/quote]

AH, nice one, that’s the issue. I deleted the offending file and it works like a charm now.

0 Likes

#17

This update is swell! :smile: Thanks!

Edit: one item… I prefer the minimap on the right, but the option to set that is in the “Application.sublime-options” file which got overwritten this latest beta. I tried setting the minimap option in my “User File Type.sublime-options” file, but it didn’t work. How can I ensure my minimap preference isn’t overwritten each time I upgrade to the latest beta? :smile:

I also have to reset my find.useSelectedText preference to true…

0 Likes