HackerTrans
TopNewTrendsCommentsPastAskShowJobs

urin

no profile record

Submissions

Show HN: Qrono – A "final" date/time library for JavaScript

qronojs.dev
1 points·by urin·5 mesi fa·0 comments

Show HN: Just right and light-weight date time library for JavaScript

github.com
5 points·by urin·anno scorso·0 comments

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

github.com
231 points·by urin·2 anni fa·136 comments

comments

urin
·2 anni fa·discuss
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 anni fa·discuss
I have updated the README to address similar comments and issues. https://github.com/urin/vscode-web-visual-editor?tab=readme-...
urin
·2 anni fa·discuss
It doesn't matter if it's complex. I believe this tool can be applied if it consists of a single HTML file and the resources linked to it. If you're using Web Components, there may be some issues. JavaScript is currently disabled because it's difficult to determine its impact, but enabling it is technically very simple. If there is enough demand in the future, I will add an option to control the functionality of JavaScript.
urin
·2 anni fa·discuss
A notable feature is the ability to synchronize code selection with visual selection in the preview. Since this extension has minimal functionality, the codebase is very small, making future expansions easy. It is designed to reflect changes made in the preview back to the code, so enhancing the editing capabilities within the preview may be beneficial in the future.
urin
·2 anni fa·discuss
Since it does not handle JavaScript at the moment, I believe the applicable scope is quite limited.
urin
·2 anni fa·discuss
This tool only handles files that can be treated as static HTML. Therefore, it cannot currently be applied to React implemented with JSX. However, it may be applicable to Vue component files.
urin
·2 anni fa·discuss
There are complex reasons behind my development of this. To be honest, I don’t think the editing functionality of this tool is particularly useful. I believe the real-time preview and element selection features are the ones that offer broader utility. I am considering making the editing feature disabled by default and allowing it to be enabled through settings in the future.