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
0
0
333
Aug ’21
Xcode: Keyboard autorepeat
This is a repost of https://discussions.apple.com/thread/253025491 Hi, Holding down any alphanumeric key in Apple Xcode doesn’t autorepeat, unlike in all other macOS applications; how do I turn keyboard autorepeat back on for alphanumeric keys 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
2
0
676
Aug ’21
Apple Xcode
Hi, Apple Developer newbie here. Couple quick questions about Apple Xcode (currently running Version 10.1 (10B61), the latest version it seems I can install under Version 10.13.6 “High Sierra,” the last version of Apple macOS that my computer apparently supports): 0. How do you toggle between “Insert” and “Overwrite” mode in the Apple Xcode source editor; know how to do this in Microsoft Visual Studio Code but can’t find any documentation on how to do this in Xcode; and How do you pipe selected text to an external filter; for example in vi you can type !}f to pipe everything from the current cursor to the end of the paragraph through an external program, e. g., “f” in the example above (in my case, a simple C filter that reformats and/or reflows text, whether into a canonical source format or to reflow text into 80-column paragraphs), replacing the original text with the output of that filter? ’preciate it, Austin
0
0
424
Oct ’21