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

Indicate if a method is a signal method #271

Open
Brin-o opened this issue May 29, 2021 · 3 comments
Open

Indicate if a method is a signal method #271

Brin-o opened this issue May 29, 2021 · 3 comments

Comments

@Brin-o
Copy link

Brin-o commented May 29, 2021

Unsure what the limitations of VSCode are but it would be really nice if we could show some sort of an icon on a method that is a signal method. This is currently show in Godots code editor like this:

image

@jubou
Copy link

jubou commented Jan 8, 2022

Any news about this, that's a feature that would be cool to have!

@Calinou
Copy link
Member

Calinou commented Jan 8, 2022

Any news about this, that's a feature that would be cool to have!

This add-on has no active development going on. This means there are no plans to implement this unless a motivated contributor opens a pull request.

@DaelonSuzuka
Copy link
Collaborator

I'm probably not going to implement this, for two reasons:

First, the extension doesn't have access to this information.

  • @ryanabx would it possible for the language server to expose this?
  • In theory, I could find this information by parsing scene files, but I'd really have to parse every scene file in the project and build a big index, which is way too much work for this minor feature.

Second, gutter decorations in VSCode are hard to work with, and I'm not sure if custom icons like that are actually possible.

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

4 participants