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

suggestion: definition provider for event strings #9

Open
napei opened this issue Oct 3, 2022 · 1 comment
Open

suggestion: definition provider for event strings #9

napei opened this issue Oct 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@napei
Copy link

napei commented Oct 3, 2022

Figured now's a good time to suggest this to someone who knows what they're doing. Something I toyed with a while back and got nowhere with was a definition provider for event strings in vscode.

i.e. Ctrl + Click on a string inside a TriggerServerEvent and that will take you to the RegisterNetEvent declaration for that event.

Potentially something to extend this extension with?

Understandably it would be challenging and limited by things like wrapped event name declarations with auto-prefixing and stuff like that.

@thelindat
Copy link
Member

I'll leave the suggestion here, but not likely to happen; I'm just focused on types and declarations. The extension exists to simplify installing and updating the library and plugin used by sumneko.

Ideally this extension gets replaced by Cfx in the future, who may be more inclined to add something like that (hopefully not exclusive to FxCode).

@thelindat thelindat added the enhancement New feature or request label Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants