comment-divider icon indicating copy to clipboard operation
comment-divider copied to clipboard

Allow customization of final character to fix R breadcrumbs

Open wleoncio opened this issue 4 years ago • 0 comments

In R files, the presence of a hash symbol at the end of the section line prevents it from showing up on the VSC breadcrumbs row:

bilde

Removing it makes the section render correctly

bilde

I've tried a similar approach on different languages (HTML, Python, C++). In these cases, I couldn't even get the section to appear on the breadcrumb at all (and that may be a topic for a different discussion), but at least for R that's the deal.

I can also understand that hard-coding a different final character might break the extension for other languages, so perhaps the safest option here is to allow the user to custimoze the final character, either in general or, ideally, on a per-language basis.

wleoncio avatar Oct 19 '21 10:10 wleoncio