I am not touching VS code with 10’ pole, it is way too complicated to setup for a pure html/css workflow, maybe its fine if you work in nodejs and multiple other languages. For pure html/css/js, its a crap shoot.
Anyways, everything I’ve tried, phcode, hbuilderx and many more, they all do weird things with formatting out of the box.
Dreamweaver got it best, but its still wrong:
<a href="img/with-franklin-car.jpg" data-caption="me with Franklin Car" class="gallery-item">
<div class="image-frame"> <img src="img/me-with-franklin-car.jpg" alt="me with Franklin Car"/> </div>
<div class="caption"> with Franklin Car</div>
</a>
It should be and used to be this in DW:
<a href="img/with-franklin-car.jpg" data-caption="me with Franklin Car" class="gallery-item">
<div class="image-frame"> <img src="img/me-with-franklin-car.jpg" alt="me with Franklin Car"/> </div>
<div class="caption"> with Franklin Car</div>
</a>
I used to be able to change the indents in the a tags using edit>preferences>code formatting, but Dreamweaver seems to be buggy in that regards on the 2021 LTS version. Also, CC killed format on save, and you now have to keybind or map an action in a 3rd party software so both execute.
Pinegrow got it very close, I am impressed, but its still wrong:
<a href="img/with-franklin-car.jpg" data-caption="me with Franklin Car" class="gallery-item"> <div class="image-frame">
<img src="img/me-with-franklin-car.jpg" alt="me with Franklin Car"/>
</div> <div class="caption"> with Franklin Car</div></a>
VScode, beautify, etc all generate an error when trying to format this code:
<a
href="img/with-franklin-car.jpg"
data-caption="me with Franklin Car"
class="gallery-item">
<div class="image-frame">
<img
src="img/me-with-franklin-car.jpg"
alt="me with Franklin Car"
/>
</div>
<div class="caption"> with Franklin Car</div>
</a>
Actually, it was originally ai code, but I’ve seen extensions do this type of formatting too, but at least pinegrow gets it close. Who is making these semantic design changes at the top? There is no way this is a standard now.
Also, how is it so hard to get formatting workout out of the box anymore? Did companies really say - you have to manage all of this on your own now, and let the community handle the development? I have no idea what is going on, or why the landscape has turned to this. It is crazy to me. Hbuilderx and others did not do a great job either. I would try wappler but it doesn’t have wordpress snippets and $56.25/mo is insane to me.
Still struggling here after a 10 year break, I quit soon as VS code came out. Even refused to use photoshop or tables anymore when smart phones came out in 2005/6ish, which was a real struggle for me. I hated that the web introduced divs and no longer allowed us to paint our websites pixel perfect in photoshop. Just following the big 72px hero sections everyone else does, with no content above the fold. Heh. My design has suffered from it, so much, to the point, where it’s best for me to just have someone else handle it. While I wait for other programs/frameworks/etc to find solutions, clearly the new one of doing things is not clear or best. Phones have ruined our landscape as designers and ai could be next on the list to make it worse.
I’ve met people who have spent 1000s of hours customizing their VS code - something I am not looking to do. Especially for a pure html/css/js workflow - 5 page sites with occasional wordpress.
Any help will be greatly appreciated,
APB // Fungames
ps -
I just wanna say, if DW had proper table insertion, good formatting, a wordpress extension like pinegrow with all the snippets, and still had the ability to quickly attach CSS Stylesheets using keyboard or just press 1 button - that was not so hard to find(you have to click 3 times now and its easier to just type <link href=“” etc.) - it would be game over.
This is so insane and hyper useful coming from pinegrow:
That and if photoshop had an css3/animations/transition panel like figma/anima does, instead of timeline gifs, that would take me back or even a fireworks that exported pure JS/Divs no canvas, but I am asking for way too much at this point.