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
Typescript files like component.ts are not recognized as components in hbs templates. Based on standard typescript usage regarding ember-cli-typescript
Steps to Reproduce
Create component.ts file in any component namespace. component.ts use standard component definition:
import Component from "@ember/component";
export default class PropListComponent extends Component {}
Expected behavior:
Autocompletion in any hbs template will offer the component for autocompletion.
Actual behavior:
Go to any template and try component autocompletion ctrl+space, component is not there.
Reproduces how often:
Versions
Always
Additional Information
none
The text was updated successfully, but these errors were encountered:
Actually its only thing which blocks me from using typescript on component layer in our projects as we have large components base which is not very usable without autocompletion. Does this require big change ? if not I can try to prepare pr myself. But I have not written any intellij plugin yet so could you point me to test of this component.js behaviour. I can start from there.
Does this require big change ? if not I can try to prepare pr myself.
I think the necessary change should be quite small, but unforunately I'm not entirely sure where it needs to be done either. If I remember correct this behavior is defined in one of the ReferenceContributor classes.
Description
Typescript files like component.ts are not recognized as components in hbs templates. Based on standard typescript usage regarding
ember-cli-typescript
Steps to Reproduce
Create
component.ts
file in any component namespace.component.ts
use standard component definition:Expected behavior:
Autocompletion in any hbs template will offer the component for autocompletion.
Actual behavior:
Go to any template and try component autocompletion ctrl+space, component is not there.
Reproduces how often:
Versions
Always
Additional Information
none
The text was updated successfully, but these errors were encountered: