As in, console.clear().

This would clear the console on every partial/full reload. I put this in myself, but there are times I’ve put it in the wrong place and then spend like an hour trying to figure out why code isn’t running, then I move the clear, and there was an error in the logs the whole time. …Er, I mean, that could happen to someone… else.

An option that’s just built-in for those that know the console exists (may not be that many of us creating on perchance I grant you) would be useful. And avoid problems like that. I mean, problems for other people. 👀

  • Cocell@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 months ago

    Do you mean the browser console?

    If you are working with JS, you can just run the console.clear() function. But it would be helpful if you could be more cohesive about what exactly you are talking about.

    • wthit56@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      Yes, exactly. That’s what I’m doing. That’s what I’m talking about. That’s what I’m requesting could be a feature built into the platform. 👍

      (You can re-read the post knowing that that’s what I’m talking about, if you want. It may make more sense.)