Sync project with filesystem

Answered

If I add or remove file or directory, I have to explicitly ask IDE to do the same (add existing item). It is very annoying "feature" that, I think, came from VS. It would be very handy to sync project with current file system structure automatically. By the way, Unity3D editor does this by default.

0
6 comments

Hi!
What kind of project are you working on?

MSBuild-csproj supports wildcards, so all files may be included. Will this be the solution for your case?

But current Rider eap build may have problems with wildcards, so we need to try.

0

Hi!

It is a Unity project.

0

I tried to copy/delete file in filesystem, then just focusing Unity causes update of csproj and automatic update in Rider.

Do I understand right, that you want the same without focusing Unity?

0

>> Do I understand right, that you want the same without focusing Unity?

Yes, exactly! It is also behavior to which I used to when working with IntelliJ Idea. Though I understand that in VS world things are different by default.

0

The corresponding issue in Rider was fixed (I am not sure if the fix is in the published EAP thou, but it will be in the next one).

So, removing file in filesystem will directly update SolutionExplorer in Rider, if only Unity or Unity3dRider generate csproj with wildcards like <Compile Include="Assets\Plugins\**\*.cs" />

Please file a request to Unity3dRider, if you still want this behavior.

0

Please sign in to leave a comment.