Post

Replies

Boosts

Views

Activity

Xcode: Piping selected text to external programs
This is a repost of https://discussions.apple.com/thread/253025487 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”]. ’preciate it, Austin
1
0
468
Oct ’26
Xcode: Piping selected text to external programs
This is a repost of https://discussions.apple.com/thread/253025487 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”]. ’preciate it, Austin
Replies
1
Boosts
0
Views
468
Activity
Oct ’26
Converting selected text to uppercase (or to lowercase)
Hi, all, How do you convert selected text to all-uppercase (or to all-lowercase) in Xcode? I am running Xcode Version 10.1 (10B61). (I can do it in vi, but I can’t use vi on my MacBook Pro because my caps lock key is broken, making it too painful to use vi without being able to swap the control and caps lock keys.) ’preciate it
Replies
1
Boosts
0
Views
1.6k
Activity
Mar ’23