Filter for Dependencies tool window
Answered
It would be useful to be able to provide a regular expression to match required versions. For example, commons.io has an old version 20030203.000550 which is always indicated as the "latest version". With the regular expression of \d+\.\d+\.\d+(-*)? to filter the available versions, this version will not be suggested as the "latest version". This may need to be configurable on a repository basis, but something to avoid the suggestion of out of date versions would be useful.
Please sign in to leave a comment.
Do you mean "Support regexp in the search filed of the dependency tool window" (here)?
Feel free to create a feature request at https://youtrack.jetbrains.com/newIssue?project=IDEA
No, I mean in the item below, see the version that I originally mentioned?
It is always offered as an upgrade candidate because the version number is an old format (which should be ignored). The most flexible way of giving the user the option to ignore certain version numbers would be to offer a regular expression to filter version numbers.
There has been an issue with versions comparison: https://youtrack.jetbrains.com/issue/IDEA-274542 It has been fixed in the 2021.3 version. The RC build is available from https://www.jetbrains.com/idea/nextversion/
If you'd like you can also disable the Settings (Preferences on macOS) | Editor | Inspections | Package Search | Check for new dependency versions (Maven) inspection.