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

Setup VsCode settings for remote development during mila init #71

Merged
merged 9 commits into from
Nov 24, 2023

Conversation

lebrice
Copy link
Collaborator

@lebrice lebrice commented Nov 8, 2023

  • mila init now tries to update the User settings of VsCode with a "remote.SSH.connectTimeout": 60

Are there other useful entries we should add?
Anything particular to Windows/Mac/Linux?

Let us know! :)

TODOs:

  • Add a test for this using a mock path for the VsCode settings json file.



def vscode_installed() -> bool:
return bool(shutil.which("code"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The $MILATOOLS_CODE_COMMAND can be used to customize the command to use (e.g. you could set it to code-insiders, if you're using that).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Fabrice Normandin <[email protected]>
@lebrice lebrice merged commit e64e2dd into mila-iqia:master Nov 24, 2023
5 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