BowlerHatLLC / vscode-as3mxml

ActionScript & MXML language extension for Visual Studio Code. Develop apps for Adobe AIR, Adobe Flash Player, or Apache Royale.
https://as3mxml.com/
Apache License 2.0
256 stars 39 forks source link

Need a feature to filter warnings for files in a specific path #744

Open Pinton opened 5 months ago

Pinton commented 5 months ago

The usage scenario is as follows: I imported a third-party package outside the workspace through the "source-path" in “asconfig. json”, but due to the third-party code writing is not standard, VSCode shows that there are 1k+ warnings. So I need a feature that hide all warnings for files in this path, while retaining the "errors" so I can find problems in the source code.

I have already written in settings.json: “as3mxml.problems.showFileOutsideSourcePath”: false, but it doesn’t help. So I am asking the author if there is a feature that can solve this problem, or if it is possible to add this feature to the development plan.

Also: I know that VSCode has its own problem filter, but it doesn’t work well. It counts the filtered issues as part of the total number of badges; the filtering strategy cannot be recorded in a file.

Thank you!!!