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

Allow to filter out static methods from java classes #382

Open
ghostbuster91 opened this issue Apr 26, 2024 · 0 comments
Open

Allow to filter out static methods from java classes #382

ghostbuster91 opened this issue Apr 26, 2024 · 0 comments

Comments

@ghostbuster91
Copy link

ghostbuster91 commented Apr 26, 2024

Is your feature request related to a problem? Please describe.

I find it confusing that in java static methods are returned as a part of completions on an instance of an object. I know that in java it is possible to call static method on an instance of an object though this is considered a bad practice.

I would like static methods not to be reported in completions when writing java.

Describe the solution you'd like

Add a feature flag that if set would not report static methods on java classes when writing a java file. Static methods would only be reported on the class. Otherwise the behavior remains the same.

Describe alternatives you've considered

Leave it as it is since this is allowed in java.

Additional context

No response

Search terms

java, completions, static

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

1 participant