Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn if a Unity project is opened as a folder #658

Merged
merged 5 commits into from
Jul 24, 2018

Conversation

citizenmatt
Copy link
Member

If Rider's "Open from Folder" option is used to open what looks like a Unity project (base dir has Assets, Library and ProjectSettings, then show a sticky balloon notification explaining that Unity functionality is disabled, and that the project should be opened as a proper solution, either via the Unity editor, or by opening the .sln file. The same notification is shown if a single project is loaded, instead of the solution itself (e.g. opening Assembly-CSharp.csproj).

If the folder has a Unity generated solution file, the balloon notification includes an action to close and reopen the solution correctly (although you'll be unlikely to get to this point, as the "Open from Folder" action checks for existing solution files and prompts to load them if available).

@citizenmatt citizenmatt added this to the Rider 2018.2 milestone Jul 20, 2018
@citizenmatt citizenmatt self-assigned this Jul 20, 2018
@IvanPashchenko IvanPashchenko merged commit 52a9b0a into 182 Jul 24, 2018
@IvanPashchenko IvanPashchenko deleted the feature/open-unity-folder branch July 24, 2018 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants