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

Attribute autocompletion shows 4 "@bs" entries on top #347

Closed
cknitt opened this issue Jan 21, 2022 · 6 comments
Closed

Attribute autocompletion shows 4 "@bs" entries on top #347

cknitt opened this issue Jan 21, 2022 · 6 comments

Comments

@cknitt
Copy link
Member

cknitt commented Jan 21, 2022

When I type "@", I get the following autocompletion

Bildschirmfoto 2022-01-21 um 08 17 22

Can we get rid of the 4 @bs entries on top?

The remaining entries all make sense, but it would be nice if they had a help text. :-)

@cristianoc
Copy link
Collaborator

Looks like these are 2 separate mechanisms. The ones on top are templates. The following ones are coming from autocompletion.

@cknitt
Copy link
Member Author

cknitt commented Jan 21, 2022

Ah, right, yes, these are snippets, they are just named weirdly.

Looks also weird in the "Insert Snippet" function:

Bildschirmfoto 2022-01-21 um 08 42 11

@cknitt
Copy link
Member Author

cknitt commented Jan 21, 2022

I guess the first two should be @val and the other two @module now that we don't have @bs anymore.

@cknitt
Copy link
Member Author

cknitt commented Jan 21, 2022

For comparison, this is what the Insert Snippet menu looks like for TypeScript:

Bildschirmfoto 2022-01-21 um 08 47 45

@fhammerschmidt
Copy link
Member

fhammerschmidt commented Jan 24, 2022

I would suggest to remove them, as Cheng mentioned here: #125
The other snippets could use a description field and the prefix should probably always be a one-line string instead of a string array.

@cristianoc
Copy link
Collaborator

Indeed, it's just about removing the @bs part, while they still show up with external.

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

No branches or pull requests

3 participants