microsoft / vsminecraft

Visual Studio extension for developing MinecraftForge mods using Java.
Other
193 stars 25 forks source link

[Enhancement] Automatically update .classpath file #22

Open FunshineX opened 9 years ago

FunshineX commented 9 years ago

When I rename packages, add subfolders, etc, the .classpath file is not updated. I have to manually add additional classpathentry tags so the intellisense works and the project compiles.

mluparu commented 9 years ago

Yes, only the other direction (from classpath to VS project) is currently implemented (and even that is through the manual commands described in #7).

As a workaround: As long as you add the packages and additional source folders in the gradle.build file rather than the VS project, after running a build and the CustomCommands.ProvisionMinecraftProject, you shoudl have both an updated .classpath (that Intellisense can work with) as well as the VS project (that debugger needs to launch correctly).