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

added ${workspaceFolder} handling to rosSetupScript #1275

Merged
merged 2 commits into from
Feb 11, 2024
Merged

added ${workspaceFolder} handling to rosSetupScript #1275

merged 2 commits into from
Feb 11, 2024

Conversation

PhilippPolterauer
Copy link

@PhilippPolterauer PhilippPolterauer commented Feb 9, 2024

This small pull request adds the possibility to use the ${workspaceFolder} variable within the ros.rosSetupScript setting.
In case of no clear workspaceFolder, e.g. no active or multliple active workspaces, it warns the user and proceeds with the normal distro discovery.

This change would allow users from various machine to use the same ros.rosSetupScript settings which could point to a local in repository file, simplifying collaboration in case of a more complex setup-script (e.g. sourcing multiple workspaces within a repository ).

@PhilippPolterauer PhilippPolterauer requested a review from a team as a code owner February 9, 2024 21:20
@PhilippPolterauer
Copy link
Author

@microsoft-github-policy-service agree

Copy link
Member

@ooeygui ooeygui left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution! One minor change requested around switching from dialog to trace output.

src/extension.ts Outdated Show resolved Hide resolved
Copy link
Member

@ooeygui ooeygui left a comment

Choose a reason for hiding this comment

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

Thanks for the quick turnaround!

@PhilippPolterauer
Copy link
Author

If there is anything left to do, please let me know👍

@ooeygui ooeygui merged commit 814a8ef into ms-iot:master Feb 11, 2024
6 checks passed
@ooeygui
Copy link
Member

ooeygui commented Feb 11, 2024

Thank you for your contribution!!!

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