Show HN: A VSCode Extension to edit HTML visually in real-time

urin | 231 points

Nice extension, it may be worth in the readme explaining how it’s different to https://github.com/microsoft/vscode-livepreview which has been around for a long time and maintained by Microsoft.

jayflux | 2 months ago

I like to use standalone tools with no dependencies, so I made this open source html editor with instant preview as a single html page:

https://github.com/no-gravity/html_editor

It has a few convenience functions already. Open for pull requests.

mg | 2 months ago

Are we trying to reinvent web development? Last few years have been wild. We abandoned HTML CSS and JS websites that used to work just fine and ran after frontend component frameworks and now the circle is getting completed by building tools and extensions we had 20 yrs ago

vivzkestrel | 2 months ago

I like putting an auto-reloading browser window behind a 60% opacity Vim window.

asdf000333 | 2 months ago

This is great, A tighter feedback loop is always better for everyone.

I'm also getting some serious Déjà vu for the web tools of the 2000's. History really does rhyme

greybox | 2 months ago

I was expecting something more like WYSIWYG editor, that actually edits HTML visually in real-time. Something akin to old times of first webpage editors.

butz | 2 months ago

reminds me of good old Macromedia DreamWeaver times :)

whoisthisguy | 2 months ago

we've come full circle - macromedia dreamweaver had this in 2001

whalesalad | 2 months ago

It seems there have been many opinions questioning why a tool for editing pure HTML is being developed now. Here is my current view on this matter:

These days, it's rare to directly handle HTML files on the frontend of web applications, and placing key elements using absolute or relative coordinates is also uncommon, so the use cases for this extension are currently quite limited.

However, it could be somewhat useful in areas where web technologies are not yet widely adopted but need to be implemented simply. When creating individual components, such as with Vue.js, the real-time preview might become valuable. It could also be helpful for building non-application content like simple landing pages.

urin | 2 months ago

Is this a significant improvement from having a "live preview" on a browser?

profsummergig | 2 months ago

Nice. Will this work with React as well?

jaxomlotus | 2 months ago

Nice to see you again, HotDog.

luismedel | 2 months ago

Would be much more valuable if you can live-preview Sass. It is easy to guess the impact of HTML edits I am making, but guessing impact of style edits is much harder and so live preview would be more valuable.

breadwinner | 2 months ago

Thanks for sharing but I don't find big differences with the currently existing "live preview" and other plug-ins. Can you explain what are the features of your Web Visual Editor? Thanks

8mobile | 2 months ago

I like it. It saves me a Ctrl+s and some setup for a hot deployment.

dxxvi | 2 months ago

There’s something sad about how basic this is compared to say FrontPage (so shoot me) which was oh ~25 years ago.

shsbdncudx | 2 months ago

The title was a little confusing for me. Don't you edit HTML visually in real-time all the time?

gloosx | 2 months ago

Is there a way you can edit HTML directly in browser devtools and have it update in your code repo?

divbzero | 2 months ago

Does it handle js? I can't tell if this is only for static files from the documentation.

allanblair_ | 2 months ago

Very unfortunate naming if you understand some German...

jdthedisciple | 2 months ago

You missed the opportunity to name it Vscode-FrontPage. We Are So Back.

v3ss0n | 2 months ago

Thank you for using a FOSS license!

aloisdg | 2 months ago
[deleted]
| 2 months ago

Ah yes, bracket editor by adobe is back

apiep | 2 months ago

Interesting

shipitnow | 2 months ago

This reminds me of Microsoft FrontPage more than 20 years ago.

init | 2 months ago