()
| 232 | export const extensionNotReadyString: string = localize("extension.not.ready", 'The C/C++ extension is still installing. See the output window for more information.'); |
| 233 | |
| 234 | export function displayExtensionNotReadyPrompt(): void { |
| 235 | if (!isExtensionNotReadyPromptDisplayed) { |
| 236 | isExtensionNotReadyPromptDisplayed = true; |
| 237 | showOutputChannel(); |
| 238 | |
| 239 | void getOutputChannelLogger().showInformationMessage(extensionNotReadyString).then( |
| 240 | () => { isExtensionNotReadyPromptDisplayed = false; }, |
| 241 | () => { isExtensionNotReadyPromptDisplayed = false; } |
| 242 | ); |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | // This Progress global state tracks how far users are able to get before getting blocked. |
| 247 | // Users start with a progress of 0 and it increases as they get further along in using the tool. |
nothing calls this directly
no test coverage detected