wallabyjs / quokka

Repository for Quokka.js questions and issues
https://quokkajs.com
1.18k stars 31 forks source link

"Clear File Values" doesn't clear "Only the first N values are automatically logged" message #847

Closed wpchen closed 1 year ago

wpchen commented 1 year ago

Issue description or question

In the first screenshot below, I have Quokka running fine on the below sample code.

screenshot 1

The problem is when I "Clear File Values" (either via hitting "ESC ESC" or via VSCode command palette), the values of the variable are correctly cleared but the "Only the first 10 values are automatically logged..." message sticks around (see second screenshot below).

screenshot 2

I don't think the message should stick around (ie: all blue text should go away) when I "Clear File Values".

Is this issue related to Quokka not outputting the expected results of your code?: No

Sample code

let a = 1;

for (let i=0; i < 11; i++) {
  a += i;
}

Code editor version

Visual Studio Code v1.74

OS name and version

OSX - Ventura 13.0.1

smcenlly commented 1 year ago

Thanks for reporting the problem. This is fixed in the latest version of Quokka for VS Code, v1.0.517.