integrated-application-development / delphilint

Delphi IDE package providing on-the-fly code analysis and linting, powered by SonarDelphi
GNU Lesser General Public License v3.0
87 stars 13 forks source link

Add support for clearing file issues in the Delphi IDE #24

Closed fourls closed 7 months ago

fourls commented 7 months ago

This PR adds a new "Clear Active File" menu option to the Delphi IDE, which (as the name suggests) clears all issues from the active file.

This has required a number of refactors, particularly around ensuring that issue objects can be relied upon to persist after their analysis has been deleted.

Cirras commented 7 months ago

Same thing in DelphiLint.ToolFrame. image

Cirras commented 7 months ago

Looks like both files were flipped to utf-8 in c215b2a67b4b665724314b20938cbf29be76f980 and then flipped back to ansi in 370fa948bcd299548ecf05fdbcf054f79444a18b.

fourls commented 7 months ago

Huh... how weird. I'll fix that up.