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

Autocomplete implementations of getter and setter methods #3

keskiju opened this issue Dec 27, 2015 · 1 comment


None yet
1 participant
Copy link

commented Dec 27, 2015

User writes 'get' or 'set' while editing a class and autocomplete provides getter/setter implementation snippets for fields of a class. Also include "get/set all fields" suggestions and suggestions for constructor implementation. Maybe reuse some implementation logic from java-generator package?


  • AtomAutocompleteProvider.getSuggestions(): Implement constructor suggestions (empty constructor, constructor with class fields as parameters).
  • AtomAutocompleteProvider.getSuggestions(): Implement getter/setter suggestions.
  • AtomAutocompleteProvider.getSuggestions(): Implement suggestion that adds getter/setter for all fields that don't have one yet.

@keskiju keskiju added the enhancement label Dec 27, 2015

@keskiju keskiju changed the title Autocomplete getter and setter method implementations Autocomplete implementations of getter and setter methods Dec 27, 2015


This comment has been minimized.

Copy link
Owner Author

commented Dec 28, 2015

#3 and #4 should return suggestions only if cursor position is in 'class SomeClass { ... }' scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.