Skip to content

Add support for Kotlin @Deprecated annotation #185

@alshan

Description

@alshan

I deprecated symbol "lets_plot" in favor of "letsPlot":

@Deprecated("", ReplaceWith("letsPlot(data, mapping)"))
fun lets_plot(data: Map<*, *>? = null, mapping: GenericAesMapping.() -> Unit = {}) = letsPlot(data, mapping)

In IDEA user can see the deprecated symbol and can choose to auto-fix:

image


In Jupyter notebook user can not tell a deprecated symbol from the new one (and most likely there is no auto-fix provided):

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions