Skip to content

Renaming/deleting folders in "src" folder tree crashes plugin #25

@ArcanoxDragon

Description

@ArcanoxDragon

(repost from microsoft/vsminecraft#18)

I set up a new Java project using the "New MinecraftForge Mod (Minecraft 1.8)" template (from Microsoft's Minecraft plugin), and went to rename the folder "examplemod" under "src/main/java/com" to my own package name using F2. As soon as I hit "Enter", it displayed an error box noting something about "examplemod" being removed from the hierarchy. The folder stayed named "examplemod" in Visual Studio, but was renamed on the filesystem. Refreshing the view nor reloading the project fixed the folder's name in VS, so the file was "not found" to the IDE. I had to edit the .javaproject file manually in Notepad++ to change the references to the correct folder, and then reload the project.

This happens when renaming or deleting any file in my project's "src" folder. It makes it hard to refactor as I have to edit the .javaproject file every time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions