typed-ember / glint

TypeScript powered tooling for Glimmer templates
https://typed-ember.gitbook.io/glint
MIT License
109 stars 51 forks source link

Arg completions incorrectly contain globals in .gts files #566

Closed bakerac4 closed 1 year ago

bakerac4 commented 1 year ago

When I try to use a gts file, it seems like if there are other autocompletions it wont show the autocompletions for my component args. However when I get to a more specific argument (past those other autocompletions) it will show, and then if you delete characters to get it back to where it wasn't showing before it will still show (and not show the other autocompletions).

I suspect this could be a env issue with my vscode but would love for someone to confirm this for me.

Here is what I am talking about with pictures.

Screen Shot 2023-04-28 at 9 10 30 AM Screen Shot 2023-04-28 at 9 10 36 AM Screen Shot 2023-04-28 at 9 10 43 AM
dfreeman commented 1 year ago

And just to confirm, this is only in .gts files—you don't see this behavior in .hbs ones?

bakerac4 commented 1 year ago

Thats correct. I just made a test

Screen Shot 2023-04-28 at 9 27 50 AM

file with a normal template. Here is an attached picture.

dfreeman commented 1 year ago

Perfect, thanks! That helps narrow it down quite a bit.