-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add mirror setting to help with coursier set up #899
Conversation
Tested it locally and it seems to work correctly replacing the URL used by coursier boostrap
export function metalsDir(target: ConfigurationTarget): string { | ||
if (target == ConfigurationTarget.Workspace && workspace.workspaceFolders) { | ||
const wsDir = workspace.workspaceFolders[0]?.uri.fsPath; | ||
return path.join(wsDir, ".metals"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dos65 I changed the directory for the server version data to .metals
since this would be a more consistent naming. We already have things like .bloop
etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. Technically, it isn't it a problem.
I intentionally named is differently for a case when somebody creates a project inside home dir. I understand that it's weird but who knows, maybe that might be a case for a temporal usage(remote/inside container)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Tested it locally and it seems to work correctly replacing the URL used by coursier boostrap