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

Add kit name selection by settings.json #3251

Closed
wants to merge 18 commits into from
Closed

Conversation

netkiss
Copy link

@netkiss netkiss commented Jul 21, 2023

This change addresses item #[[1496]]

This changes [[visible behavior]]

The following changes are proposed:

This pull request adds a way to set default kit name by cmake.defaultKitName parameter in the
"settings.json". If you will chose default kit name, you no longer have to manually select a kit
when opening a new folder.

Other Notes/Information

To set default kit you should add a kit to the ".vscode/cmake-kits.json" and the kit name to the
"settings.json" file. The behaviour will be the same if you will not set a default kit.

@netkiss
Copy link
Author

netkiss commented Jul 21, 2023

@microsoft-github-policy-service agree

@snehara99 snehara99 self-assigned this Jul 21, 2023
@andreeis
Copy link
Contributor

andreeis commented Aug 1, 2023

@netkiss, we are reviewing and testing this PR. While we analyze this end to end, you can fix the linter errors that are reported. To reproduce them on your side, from your developer command prompt run "yarn run lint". The messages are quite explanatory but in case something is not clear don't hesitate to ask and we'll help.

@netkiss
Copy link
Author

netkiss commented Aug 1, 2023

Ok, I will try to do it

@netkiss
Copy link
Author

netkiss commented Aug 1, 2023

I have fixed linter errors

@gcampbell-msft gcampbell-msft assigned andreeis and unassigned snehara99 Aug 1, 2023
@netkiss
Copy link
Author

netkiss commented Oct 22, 2023

Hi. Can I finish anything for feauture implementation?

@andreeis
Copy link
Contributor

@netkiss, I reviewed and tested your PR and it works great. We had one concern if you can address. In case the kit pointed to by the new setting comes from the local kits file (.vscode/cmake-kits.json) instead of the user kits file (cmake-tools-kits.json from user folder) it would be a good to ask (just once) the user if they trust the kit. See PR #3067 for an example where something like this was implemented in a different scenario.

@netkiss
Copy link
Author

netkiss commented Nov 1, 2023

Ok, I can do it

Copy link
Collaborator

@gcampbell-msft gcampbell-msft left a comment

Choose a reason for hiding this comment

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

@netkiss Looking at the PR, it looks like it's still awaiting the changes requested by @andreeis here: #3251 (comment)

Could you make these changes?

@gcampbell-msft gcampbell-msft marked this pull request as draft October 7, 2024 10:50
@gcampbell-msft
Copy link
Collaborator

@netkiss Until those changes are made, I've changed the PR to be in the "Draft" state to help us organize and prioritize PR's. Thanks!

@gcampbell-msft
Copy link
Collaborator

Due to the age of the PR and not having recent activity, I'm closing this PR. Please reopen if you want to continue working on this and want it merged. Thanks!
@netkiss

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.

4 participants