You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auto complete custom element tags in TSX not working with hyphen in name #28905
When using tsx to develop components for custom elements (web components), auto complete does not show element names that have a - in it's name.
I'm using https://stenciljs.com/ to create these components, and custom element names are added to an extended InstrinsicElements interface. Which looks like this:
This is actually something I would like to see fix. If help is needed to get this going, I'm more than willing to try to create a PR; I would just need to get some direction on where to look/debug.
1.07. Consider issues of physical disabilities, allocation of resources, economic disadvantage and other factors that can diminish access to the benefits of software.
All React's Aria tags use hyphens. When people start typing aria for an attribute, they cannot discover it in VSCode because of this BUG! People are less likely to discover and pay attention to accessibility because of that.
STOP BREAKING SOFTWARE ENGINEERING CODE AND IMPLEMENT ESSENTIAL FUNCTIONALITY!!!
Activity
mjbvz commentedon Dec 7, 2018
Repo by augmenting
JSX:Completion item for
div-2is not returned.Cammisuli commentedon Apr 20, 2019
This is actually something I would like to see fix. If help is needed to get this going, I'm more than willing to try to create a PR; I would just need to get some direction on where to look/debug.
Thanks!
zavr-1 commentedon Mar 16, 2020
WHY ARE YOU NOT FIXING THIS MICROSOFT.
The Software Engineering Code of Ethics and Professional Practice
All React's Aria tags use hyphens. When people start typing
ariafor an attribute, they cannot discover it in VSCode because of this BUG! People are less likely to discover and pay attention to accessibility because of that.STOP BREAKING SOFTWARE ENGINEERING CODE AND IMPLEMENT ESSENTIAL FUNCTIONALITY!!!
Jack-Works commentedon Mar 18, 2020
I think I can fix it. Let me have a try...
The reason for this bug is
TypeScript/src/services/completions.ts
Line 2414 in f9945f5
Jack-Works commentedon Mar 18, 2020
OK I get it
Jack-Works commentedon Mar 18, 2020
Another screenshot
bkelley13 commentedon Mar 23, 2020
This would be very helpful to fix, Jack-works! Many thanks for your efforts.