XCJumpToTests icon indicating copy to clipboard operation
XCJumpToTests copied to clipboard

find is slow

Open toshi0383 opened this issue 7 years ago • 0 comments

In my project it takes almost a second to switch file. If I replace the find with fd command, it improves to less than 0.5 sec. https://github.com/sharkdp/fd

-               set command to "find " & quoted form of projectFolder & " -name " & quoted form of destinationName
+               set command to "fd " & quoted form of destinationName & " " & quoted form of projectFolder

I already use it in my own tool, but it's up to you👌 https://github.com/toshi0383/scripts/blob/master/xcode/plugins/xcode_toggleFlux_forward.scpt#L34

toshi0383 avatar Jul 11 '18 01:07 toshi0383