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

Highlight current section (%%)

Open dklilley opened this issue 1 year ago • 4 comments

Splitting part of #8 into this feature request, as the other part of it has been resolved.

It would be great to have code sections highlighted similar to the MATLAB editor (or at least highlight the lines of code starting with %%).

dklilley avatar Oct 17 '23 13:10 dklilley

Just wanna +1 this issue. The lack of section highlighting on vscode reduces readability in my opinion, particularly for scripts which use sections as a way to delineate portions of a larger analysis pipeline.

goldrik avatar Nov 01 '23 21:11 goldrik

Code "sections" or "cells" can already be highlighted in python (using #%%), maybe sections on MATLAB could be highlighted in the same way (without the unnecessary text "Run Cell", "Run Below", etc). The section titles should also match the MATLAB formatting (bold, non-italic)

Screenshot 2024-01-05 at 1 04 34 PM 2

goldrik avatar Jan 05 '24 18:01 goldrik

at least highlight the lines of code starting with %%

Though I made a duplicated issue #150 before, is there any updates on this issue?

wohenbushuang avatar Jun 14 '24 07:06 wohenbushuang

Unfortunately I do not have any updates at this time. However, this is still on our radar as functionality we would like to add!

dklilley avatar Jun 14 '24 16:06 dklilley