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

Ensure Packages folder is indexed #1997

Merged
merged 2 commits into from
Jan 11, 2021
Merged

Conversation

citizenmatt
Copy link
Member

If the Packages folder contains any project code, it wasn't being explicitly indexed, so Packages/manifest.json wasn't added to the content model, and would show the "non-project file" dialog when trying to modify. If the Packages folder doesn't contain any project, it was being explicitly added, so the dialog wasn't shown. I don't know why Packages wasn't being indexed, because with the same code, Assets was indexed.

Note that this code will be rewritten soon, when the new project model is merged. It's still worth fixing now, to make sure that the rewritten version also correctly indexes both Assets and Packages.

This also means that the "non-project file" dialog is no longer shown for files in the Packages folder (files in the content model are not considered non-project).
@citizenmatt citizenmatt added this to the Rider 2021.1 milestone Jan 11, 2021
@citizenmatt citizenmatt self-assigned this Jan 11, 2021
@citizenmatt citizenmatt merged commit 19de490 into net211 Jan 11, 2021
@citizenmatt citizenmatt deleted the net211-mte-index-packages-folder branch January 11, 2021 14:14
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.

None yet

2 participants