fwcd / fwcd/kotlin-language-server

Add support for renaming `it`

Open
#647 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
2k
Forks
252
PR merge metrics
No merged PRs in 30d

Description

When you rename `it`, kls currently just apparently does nothing and returns without error.

The expected behaviour would have been to add a lambda parameter with the new name and rename all instances of `it` inside the lambda.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no file or test, so start by locating the rename-handling entry point for Kotlin lambda expressions and any tests covering renames. Reproduce renaming `it`, then verify that a lambda parameter with the new name is added and every `it` inside that lambda is renamed.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.