0.4.0
What's Changed
- Add hover popup for REPL Decorations with pretty-printed snapshot value
- The hover popup has the following actions: Dump object, Copy text and Copy json.
- Update the formatting of REPL Decorations. They are now more concise. The style is similar to the formatting in Chrome DevTools Console.
const clock = document.getElementById('clock') as HTMLTimeElement; // → clock = <time id="clock" class="text-5xl font-bold">…</time> const obj = { a: 1, b: 2, c: { d: 4 }, e: clock } // → obj = {a: 1, b: 2, c: {…}, e: time#clock.text-5xl.font-bold}
- Add editor action "Copy With REPL Decorations"
- Fix barely noticeable blinking of preview content on updates
- Fix decors sometimes jump when you change the code
Full Changelog: 0.3.0...0.4.0
Donate
If you like the project, consider giving it a ⭐️ or making a small donation 💖
at https://github.com/sponsors/nag5000 or https://buymeacoffee.com/nag5000
to support the development and help cover costs such as the domain name, hosting, and development tools.
JSREPL is a side project, and I do it in my free time.
It is free for everyone, and will remain free.
Your support means a lot to me. Thank you!