mathworks / MATLAB-extension-for-vscode

This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.
https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab
MIT License
227 stars 14 forks source link

Format code segments #49

Open SnappyComebacks opened 1 year ago

SnappyComebacks commented 1 year ago

The context: In Matlab, you can choose to format the whole file, or only part of it by selecting (highlighting) the text. I work in a codebase that has a lot of large files, and formatting the whole file dilutes the blame of our git repository. I currently work around this by having Matlab open and formatting methods after modification with VS Code.

The request: I would like to be able to format selected portions of files.

dklilley commented 1 year ago

Thank you for the request! This is something we want to add in the future.