MATLAB-extension-for-vscode icon indicating copy to clipboard operation
MATLAB-extension-for-vscode copied to clipboard

Instance renaming a la Shift + Enter

Open Tastaturtaste opened this issue 1 year ago • 1 comments

In the Matlab editor it is possible to rename instances of a variable by changing the name at one place and hitting Shift + Enter. Other lsp's I use for other languages provide the ability to select an identifier, hit F2 and enter a new name in a popup. I think this second approach is more natural and I would like to see this Matlab extension support this. This could also automatically rename the files of classes and functions if the class or function gets renamed to conform to Matlabs expectations of coherence.

Tastaturtaste avatar May 04 '23 13:05 Tastaturtaste

Thanks for the suggestion! This is a feature we want to add!

dklilley avatar May 09 '23 16:05 dklilley

Missed this issue - this is now supported as of v1.2.5 (#173)

dklilley avatar Aug 28 '24 16:08 dklilley