Iād love if SublimeText could allow me to search within files/folders. Currently I resort to PSPad to get that done.
Search Within Files/Folders
you have other dedicated tools that can do that:
grep on linux/mac
wingrep on windows
why to invent the wheel in sublime?
p.s. i guess you can even do it with a self made python plug-in
Iād like to see searching within sublime, especially in conjunction with projects.
I have some plans in this area, but I havenāt sat down and worked out all the details yet.
Closest thing we have is sublimetextwiki.com/pages/SearchInFiles.html
But I agree, just use something else, in my case I use total commander, but you can also use suggestions vim said or one of my favorites powerGREP from the guys that made regexbuddy
I rather have sublime do 1 thing good than try to do every feature every other editor has in earth and fail at thoseā¦ KISS concept
PowerGREP looks powerful but fairly complicated. I did a quick file search and the performance was awesome.
How does the SearchInFiles work if it isnāt broken (actually I installed it just now but I canāt find the function anywhere).
nick, can you make a screen cast of you using it, nothing too complex, just do 1 simple search on a simple project, maybe i just donāt know what to expect.
thanks a lot, vim.
[quote=āsublimatorā]The perl modifiers Jon taught me about the other day work for python, eg prepending the regex with (?i)
(?i)sets as case insensitive[/quote]
Yup they are indeed very useful
[quote] /i makes the regex match case insensitive.
/s enables āsingle-line modeā. In this mode, the dot matches newlines.
/m enables āmulti-line modeā. In this mode, the caret and dollar match before and after newlines in the subject string.
/x enables āfree-spacing modeā. In this mode, whitespace between regex tokens is ignored, and an unescaped # starts a comment.
in Python do:
(?simx)YOUR_REGEX_PATTERN
regular-expressions.info/modifiers.html
[/quote]
I personally use a lot /i and /m the most, but specially /m! is a freaking life saver
@ sublimator
thanks! got it. i didnāt realize i need to press the ctrl-alt-shift-f from inside the find panel.