question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Refresh Support

See original GitHub issue

VS Code now has an API to trigger a refresh, see https://github.com/microsoft/vscode/issues/139737. This would allow you to get rid of the “Reload Tests” command, hooking it up to the refresh button instead.

My main motivation for this is that if you use this also for rediscovering tests after e.g. the testMate.cpp.test.executables setting has changed, then apparently we would get a progress bar in this case too (see https://github.com/microsoft/vscode/issues/141182). I would find this very useful, as we have a ton of test runners and discovery can take a long time. And I’m changing testMate.cpp.test.executables very often.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
matepekcommented, May 20, 2022

Yes 😃

Especially because multiple workspaces can be opened at the same time and the extension tries to be smart and refresh only the one which has changed. The refreshHandler is a global request. I guess I could store some info to global variable but that could be called hacky.

0reactions
stefanhallercommented, May 23, 2022

The new progress bar and status reporting in 4.2.2 is very nice. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Declare inventory that refreshes - Google Ad Manager Help
Check the boxes under "Refresh triggers" to indicate that the selected inventory refreshes. You can select one or more refresh types for the...
Read more >
Refresh the Office Add-ins list - Microsoft Support
Refresh your app list to show only your active apps for Office.
Read more >
Refresh Firefox - reset add-ons and settings
A Refresh can fix many issues by restoring Firefox to its default state while saving essential information like bookmarks and passwords.
Read more >
Adding Swipe-to-Refresh To Your App - Android Developers
To add the swipe to refresh widget to an existing app, add SwipeRefreshLayout as the parent of a single ListView or GridView ....
Read more >
How to add pull-to-refresh support in SfListView when ...
How to add pull-to-refresh support in SfListView when SearchBar is placed on top of SfListView? · <ContentPage> · <ContentPage.Content> · <Grid RowSpacing="0" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found