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

Sort events by usage in suggestions list #1324

Open
csicky opened this issue Jun 8, 2019 · 4 comments
Open

Sort events by usage in suggestions list #1324

csicky opened this issue Jun 8, 2019 · 4 comments

Comments

@csicky
Copy link

csicky commented Jun 8, 2019

Hi,

I don't know if this is related to Vetur or VS Code, but I ask here and we'll see.

When writing event handlers I want most of the time to add a click handler and I never had a need for a canplay event. I don't do video players. I believe most of us use click much more often than the others.
image

Would it be possible to train this list? Whenever I choose an item in the suggestions list, that one item to gain importance? The item most selected to be the first.

Is this possible? If not, at least could be that the click to be the first by default when I type c?

Another thing, might be a different issue, but could it be improved that with an event handler highlighted in the suggestions list, typing = to write it in the code? I would type @c= to get @click="<cursor here>"

@octref
Copy link
Member

octref commented Jun 19, 2019

Currently the list is alphabetical. Where can I get such a list where event handlers are ranked by popularity?

@csicky
Copy link
Author

csicky commented Jun 19, 2019

Well, I thought that you could train it. Anytime one selects an item, that gets its popularity bumped up.

@octref
Copy link
Member

octref commented Jun 19, 2019

I personally enjoy predictability over running training algorithms on my machine. With that said if there's a reputable ranking or taxonomy (popular, common, uncommon, rare etc) I can adopt it for the list.

@csicky
Copy link
Author

csicky commented Jun 19, 2019 via email

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

No branches or pull requests

2 participants