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

Skip configuring when cache is present and according setting is ON #1212

Merged
merged 5 commits into from
May 7, 2020

Conversation

andreeis
Copy link
Contributor

@andreeis andreeis commented May 1, 2020

This PR fixes issue 984: #984

Allow the users to set when the extension should skip over configuring operations: new setting, plus verify if the cache file is present.
Add info log message so that the user is aware of the need to keep the cache up to date.

Functionality around configureOnOpen remains the same. The PR causes configuring to be skipped (even if state is evaluated as dirty) before building, debugging or launching.

No easy way to fix the symptom of reconfiguring after stopping a build. It would require some rewrite. Tracking with issue #1214.

…fore various operations that require config change check. Configure on open remains unchanged.
@andreeis andreeis marked this pull request as ready for review May 1, 2020 18:09
@bobbrow bobbrow added this to the 1.4.0 milestone May 5, 2020
src/cmake-tools.ts Outdated Show resolved Hide resolved
@andreeis andreeis merged commit ca4dcc5 into develop May 7, 2020
@andreeis andreeis deleted the dev/andris/cmake_tools/github984 branch May 7, 2020 01:43
@ghost
Copy link

ghost commented Sep 25, 2020

@bobbrow This change is missing documentation. Can't find this command on either https://vector-of-bool.github.io/docs/vscode-cmake-tools/settings.html or https://github.com/microsoft/vscode-cmake-tools

@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants