Apple Xcode: Piping selected text to external programs
Hi,
How do you pipe selected text in Apple Xcode out to an external program, replacing it with the output from that program? For example, in MacVim, you can type
!}command
to pipe the rest of the current paragraph to _command_, replacing the original text with the output of that command, which is hella useful if you’ve written a lot of filters for tasks like automatic text reflowing or automatic source code reformatting. How do you do this in Apple Xcode?
I am running Apple Xcode Version 10.1 (10B61) [the highest-numbered, most-recent version of Xcode compatible with Apple macOS Version 10.13.6 “High Sierra”].
Also, I wanted to post this in the developer community fora but couldn’t find an “Xcode” topic/category. Can someone provide a link to a more appropriate place where I should/could have posted this question?
’preciate it,
Austin