tuncb / delphi-uses-formatter

VS code extension to format uses sections of Pascal/Delphi code
Apache License 2.0
1 stars 2 forks source link

Issue #25: Do not sort intermediate uses sections #37

Open daveweij opened 2 years ago

daveweij commented 2 years ago

Only sort valid uses sections, so if they follow a interface, implementation, or program definition.

daveweij commented 2 years ago

I've made the regex less strict, as the one I first implemented did not take possible comment blocks or compiler directives into account before the uses block

tuncb commented 2 years ago

@daveweij Can you merge main (from this repo) to your branch and push again. The CI tests are expired so I cannot check what went wrong with them. Also I cannot start them manually for your branch. Locally they seem to be fine.