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

bugfix: Metals SqlSharedIndices.scala XDG path violation #6802

Merged
merged 3 commits into from
Sep 27, 2024

Conversation

untainsYD
Copy link
Contributor

@untainsYD untainsYD commented Sep 26, 2024

see #6801
It can be easily modified to fit specific project requirements, but the main idea is to follow the XDG Base Directory Specification, which Metals already does in most places except for this SqlSharedIndices class.

Update: I have used directories-jvm in the updated version, which was already present in the project. The SQL shared indices will be preserved across different platforms.

NOTES: maybe MetalsProjectDirectories should be used instead of ProjectDirectories, see bugfix: Don't hang on ProjectDirs

image

@untainsYD untainsYD changed the title bugfix: Metals SqlSharedIndices.scala XDG path violation bugfix: Metals SqlSharedIndices.scala XDG path violation Sep 26, 2024
@tgodzik
Copy link
Contributor

tgodzik commented Sep 27, 2024

Thanks for finding this!

@tgodzik tgodzik merged commit fe3dc07 into scalameta:main Sep 27, 2024
20 of 22 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.

2 participants