Skip to content

fix: renaming class does not update class name #48

@rejmann

Description

@rejmann

use the variable "newName" instead of the old name for the class type

FileRenameHandle:create({
    oldUrl: currentUrl,
-   newUrl: Uni.file('${directory}/${fileName}${extension}'),
+   newUrl: Uni.file('${directory}/${newName}${extension}'),
});

FileRenameHandler.create({
oldUri: currentUri,
newUri: Uri.file(`${directory}/${fileName}${extension}`),
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions