vscode-language-renpy icon indicating copy to clipboard operation
vscode-language-renpy copied to clipboard

[Feature] - Use standard denotation for deprecated functions + offer alternatives

Open multimokia opened this issue 1 year ago • 2 comments

image

Currently the renpy extension reports deprecations, however it does so in a way nonstandard to other languages, for example in Javascript/Typescript/C# will use strikeout and an additional line flagging it as deprecated which also shows in intellisense:

image image

I think it'd be great to use this format to standardize. Likewise I think it'd go a long way to link docs to what the best way to replace deprecated functions or simply suggest right in the hover docs

multimokia avatar Jun 21 '23 18:06 multimokia

Adding onto this, it may be worth having some version rules as it could be possible to come across things that don't exist, or items being marked as deprecated even if the current version of the engine being used doesn't have alternatives or it's not deprecated in that version

multimokia avatar Jun 21 '23 19:06 multimokia

Hi, thanks for the suggestion. Currently we just pull this information from the renpy documentation (git repo) using a custom script. If this info is not in the documentation, we don't add it.

As for the other suggestion, yes, I also think we should use convention formatting (aka. strikethrough)

duckdoom4 avatar Jun 23 '23 13:06 duckdoom4