Elders/VSE-FormatDocumentOnSave

Only allowing specific extensions does not work.

W4RH4WK opened this issue · 3 comments

According to the README (Scenario 4) one can specify

allowed_extensions = .cs
denied_extensions =

so that only .cs files are automatically formatted. This does not work for me.

image

Even after restarting Visual Studio, .cpp files still get auto formatted on save.

Visual Studio version: 15.9.10
Extension version: 1.22

I will check it today

@W4RH4WK indeed there was a bug. I had to do small changes for Scenario4. Please add .* to the denied extensions.

Version 1.23 should be available in several minutes

The readme is also updated

It seems to work now. Great! Thank you very much.