send link to app

XCSmartCutCopyPaste


4.2 ( 3212 ratings )

开发 Mike Retondo
0.99 USD

This is a Xcode Source Editor Extension for Xcode. Its function is to apply Cut and Copy commands even if there is no selection i.e. insertion point. The CCP commands replace the standard Edit menu commands. They will remember if the text was Cut or Copy in Line mode. The Paste command will know wether to paste in line mode or not.

This is an Xcode SourceEditorCommand Extension that gives Xcode what every major IDE has had since the late 80s. It allows for cutting or coping a line with only a selection point (no selection). Xcode thinks its a word processor instead of a code editor and doesnt distinguish between line selection and character selection. This means Xcode has no concept of Line Selection Mode. If you copy an entire line you expect pasting it would be in line mode as well i.e. the pasted line(s) will be inserted above the line the cursor is on and NOT at the cursor location like a word processor would do.

Line mode is enabled when the selection starts at the beginning of a line and continues to the last character of a line including its newline character. Currently Line mode is only remembered if all the selections are in line mode. Multiple selections are concatenated together like Xcode does i.e. every selection is separated by a newline character. Be patient when starting Xcode for it takes about 10 seconds or so to load the extension after it launches but will keep it loaded from that point on.