Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTS file in V2 addon uses Typescript instead of Glint LSP #103

Closed
SanderKnauff opened this issue Dec 16, 2023 · 0 comments · Fixed by #106
Closed

GTS file in V2 addon uses Typescript instead of Glint LSP #103

SanderKnauff opened this issue Dec 16, 2023 · 0 comments · Fixed by #106

Comments

@SanderKnauff
Copy link
Contributor

SanderKnauff commented Dec 16, 2023

Description

When opening a GTS file in an V2 addon, the used LSP is reported as Typescript instead of Glint Typescript LSP.

image

Steps to Reproduce

  1. Clone https://github.com/universal-ember/ember-primitives
  2. Open ./ember-primitives/src/components/avatar.gts

Expected behavior:

The used Typescript service should be Glint Typescript LSP

Actual behavior:

The normal Typescript service is used.

Reproduces how often: [What percentage of the time does it reproduce?]

This can always be reproduced.

Versions

IntelliJ IDEA 2023.3.2 RC (Ultimate Edition)
Build #IU-233.13135.65, built on December 14, 2023

Using

Ember Experimental.js 2023.3.0

Additional Information

Adding "keywords": ["ember-addon"] to the package.json of the repository root will resolve the problem. This keyword is usually only present in the inner addon package.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants