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

Display code hint for [Event tags #780

Closed
ylazy opened this issue Oct 28, 2024 · 3 comments
Closed

Display code hint for [Event tags #780

ylazy opened this issue Oct 28, 2024 · 3 comments

Comments

@ylazy
Copy link

ylazy commented Oct 28, 2024

Hi!

Currently the extension does not display code hint for objects that have [Event...] tags.
Please consider to support it.

Thanks!

@joshtynjala
Copy link
Member

joshtynjala commented Oct 28, 2024

Can you be more specific about what you expect to see in the code hints? And the context where you expect to see them triggered? Thanks!

@ylazy
Copy link
Author

ylazy commented Oct 29, 2024

class TextBox.as:

TextBox

Usage:

var tb:TextBox = new TextBox();
tb.addEventListener(

I think there're should be a code hinting for these events when we want to use addEventListener/removeEventListener.
If it is possible, is there any way to invoke the code hint above for custom methods, such as on/off... that also have the first param as event type?

Thank you!

@joshtynjala
Copy link
Member

Closing as duplicate of #362

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