There is nothing inherently better or worse in using single file components. Editors like VSCode understand what they are programmed so understand, no more no less. The fact that JSX is better supported than e.g. Vue or Svelte is because people have done the work for JSX but not (yet) for Vue or Svelte.
How’s it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK 🇬🇧
Education
11 plus years* active enterprise development experience and a Fine art degree 🎨
You might argue that the best support is for single files such as CSS, JS and HTML having been around the longest and would be on the core support list for the editor development team. So yes any DSL is going to be worse for support depending on the community.
For typescript the fault is the integration between the Typescript language server and the author of the plugin.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There is nothing inherently better or worse in using single file components. Editors like VSCode understand what they are programmed so understand, no more no less. The fact that JSX is better supported than e.g. Vue or Svelte is because people have done the work for JSX but not (yet) for Vue or Svelte.
You might argue that the best support is for single files such as CSS, JS and HTML having been around the longest and would be on the core support list for the editor development team. So yes any DSL is going to be worse for support depending on the community.
For typescript the fault is the integration between the Typescript language server and the author of the plugin.