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

If the file already exists, attempt to navigate to it directly instea… #1874

Conversation

sonictk
Copy link
Contributor

@sonictk sonictk commented Jan 12, 2024

This tiny PR proposes to improve how compilation-find-file-projectile-find-compilation-buffer works by directly navigating to the file if already present on disk. On projects with a very large number of directories (i.e. where the projectile cache exceeds 2GB, as is common when working on Unreal projects), this can make the difference between navigating to a file from the compilation buffer instantly VS waiting for potentially upwards of 30s.

@bbatsov
Copy link
Owner

bbatsov commented Jan 12, 2024

Fine by me. Just mention this in the changelog, please.

@sonictk
Copy link
Contributor Author

sonictk commented Jan 12, 2024

Thanks for taking a look at this. I've updated the CHANGELOG.md as requested.

The CI failure here: https://github.com/bbatsov/projectile/actions/runs/7499131904/job/20416035012 doesn't seem to be related to my changes, or could it be?

@bbatsov bbatsov merged commit 55e9026 into bbatsov:master Jan 22, 2024
5 of 6 checks passed
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