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

Common: Optimize Solution Explorer refresh after EF Core action #161

Open
seclerp opened this issue Apr 24, 2023 · 0 comments
Open

Common: Optimize Solution Explorer refresh after EF Core action #161

seclerp opened this issue Apr 24, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@seclerp
Copy link
Member

seclerp commented Apr 24, 2023

Currently, we refresh the whole view with all project nodes that could cause a lot of re-indexing after performing EF Core actions on large solutions. It's worth refreshing a specific output folder that is used by dialog (migrations folder, models folder, etc.)

The better method for such a logic is the following

VfsUtil.markDirtyAndRefresh(rootNodeToRefresh)

Current logic:

VirtualFileManager.getInstance().refreshWithoutFileWatcher(true) // true for async refresh
@seclerp seclerp added the enhancement New feature or request label Apr 24, 2023
@seclerp seclerp added this to the Backlog milestone Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant