XCJumpToTests
XCJumpToTests copied to clipboard
find is slow
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