by FichteFoll · 12y ago · 0 comments
> My wish list item is for the search results to be a live view into the matching files, so that I can actually edit within the results buffer.
There's a plugin[1] for that btw, but I'm not certain it's completely safe for use. Last time I checked you could only modify the search results once.
>Syntax highlighting per file-pattern, not extension.
Luckily, there's a plugin[2] for that too.
>Turns out process management in a plugin is awkward.
I've never had a problem with that. Are you new to Python?
[1]: https://sublime.wbond.net/packages/FindResultsApplyChanges [2]: https://sublime.wbond.net/packages/ApplySyntax
I'm not at all new to Python. Forking processes is simple enough, the problem is about how Sublime manages the plugin thread; you have to jump through hoops with sublime.set_timeout() etc. At the time, I was having huge issues waiting for a process and then afterwards interacting with the editor; it seemed buggy. I'm sure it's possible given enough trial and error.