Is there a way in the Matlab editor to select vertical selections of text (like Alt-selection in MS word or Notepad++) and to insert text or an incremented numbered list into a vertical selection? (Notepad++ has this by pressing Alt-C, but can only increment)
Hi all -- column selection mode, or block edit mode, was added to the Live Editor in R2018a, and there are plans to include the feature in the regular editor in a future release as well. You can select and edit a rectangular area of code by pressing the Alt key while making a selection with the mouse. This is mentioned briefly in the release notes for R2018a and also in the documentation page for creating a live script. Please go ahead and try it out!!
Mathworks really needs this column edit feature in their editor. There's no reason not to have it and I end up having to temporarily open another editor just to edit something and going back to matlab editor afterwards. Why is this not already available????
I see no evidence that Mathworks will be making any feature changes to the regular editor, other than in the sense of continuing to work on the code analyzer and autofixes. Otherwise all of the editor development appears to be going into the live editor. Thus I do not expect the column cut or paste to ever be put into the regular editor. I would instead suspect that the live editor is intended to replace the regular editor in time.