LaurentTreguier / vscode-uncrustify

Code format using uncrustify
66 stars 10 forks source link

Switching tabs collapses the categories #15

Open GijsGoudzwaard opened 7 years ago

GijsGoudzwaard commented 7 years ago

Like the title says, when I have a category open and I switch to another tab and back the category is collapsed. Expected behavior is that it stays open.

LaurentTreguier commented 7 years ago

I'm afraid I can't change this behavior... When uncrustify.cfg is opened, it's replaced by the HTML graphical editor. However every time you switch tabs and come back to an HTML file, VSCode automatically wants to refresh the content and re-creates the HTML page. Maybe I can try to save which categories are open and restore them when re-creating the page...

GijsGoudzwaard commented 7 years ago

While this isn't an essential feature, it would make checking out certain features in the uncrustify.cfg a lot easier. Btw this is a great plugin for vscode :+1:

LaurentTreguier commented 7 years ago

Since you haven't commented on it, I assume #11 is fixed ?

GijsGoudzwaard commented 7 years ago

Yes it is fixed, thanks