Kotlin / Kotlin/dataframe

Allow refactor/rename of accessors in compiler plugin

Open
#1,449 0 comments 0 reactions 0 assignees View on GitHub
Compiler plugin enhancement IDEA Plugin
Dominant language
Kotlin
Stars
1.1k
Forks
83
Avg merge
4d 12h
Merged PRs (30d)
30

Description

Image

Sadly we cannot (yet) rename accessors using refactoring/renaming (Shift+F6).

Similarly, if you rename the source of a column name (so, a property in a `@DataSchema` interface/data class or a string literal) then any usage of the column accessor will simply turn red, instead of being renamed as well.

For the compiler plugin to really feel like part of the IDE it would be great to have this.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Shift+F6 cases described: renaming an accessor and renaming a @DataSchema property or string-literal column source. The issue names no files or tests, so first locate the compiler plugin's IDE refactoring entry points; done means accessor usages follow both kinds of source rename without becoming unresolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
compilers, developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.