fix(generator-types): Fixed some bugs (web-type.json) #6095
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello everyone!
I want to contribute to the development of the project, I hope I'm not the only one who faces syntax highlighting problems when working in IDEA (WebStorm).
This is a ...
What's the background?
Not all tags and attributes are highlighted in Intellij IDEA and WebStorm IDEs. Some attributes are incorrectly filled in.
File generation (vetur/attributes.json, vetur/tag.json, vetur/web-type.json) is performed by parsing files /components/*/index.en-US.md
In this regard, there were several parsing errors that I fixed.
a-anchor
,a-card
and many others. Different objects have different properties filled in somewhere events, somewhere attributes and somewhere slots.Now they are all combined in a single object.
It was:

Become:

a-table-summary
,a-table-summary-row
,a-table-summary-cell
, which are either difficult to extract from MD files, or are missing there.To parse such tags, I took typings/global.d.ts as a basis, unfortunately, so far without filling slots, events and attributes.
But now the list of tags has become more complete.
It was:

Become:

Self Check before Merge