dense-analysis / dense-analysis/ale

:ALRename doesn't include $ characters in input

Open
#4,691 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

When you use `:ALERename` the name put in the input box for renaming doesn't scan `$` characters in variable names in JavaScript and TypeScript code. We should try to implement a separate cword function that does include these characters. We should bear in mind that names may need to be handled differently for languages like PHP.

Contributor guide

Open the contributing guide

Research direction

Start at the :ALERename command and inspect the existing cword input handling for JavaScript and TypeScript. Compare the naming rules needed for PHP, then verify that names containing $ are included in the rename input while existing language behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php, typescript, vim
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.