Open CogentRedTester opened 4 years ago
Would it be sane to only list non-deprecated items with those list properties?
Well it wouldn't matter to me, but I figured there might be some legacy reasons to keep them? If you want to remove them then I'd consider this request complete
The one issue I can come up with is whether removing entries from options
would also remove the equivalent options/deprecated-option
property, which may still be used by some out of date scripts.
Just wanted to re-ask if anyone was considering this feature request.
Expected behavior of the wanted feature
A property which provides a list of deprecated/removed options, similar to
property-list
,command-list
, andoptions
.Use Case
I have a script which allows people to search for keybinds, commands, options, and properties, and have the results display on the osd. When searching for options and properties the script inevitably ends up accessing information about deprecated/removed options, which causes a huge number of warning/error messages to spam the console. If I had a way to know which options were deprecated before accessing information about them I could skip them in the script. It would also stop deprecated options showing up as seemingly valid entries in the search results.