Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
currently for bean accessors, groovysh completion will rather suggest the accessors than the field type notation:
groovy:000> class Foo
groovy:000> f = new Foo()
groovy:000> f.<tab>
getFoo() isFoo() setFoo(
groovy:000> f.
While this is a matter of programming taste, completion could aditionally offer foo in this case. This would also reduce visual clutter for classes with many such bean accessors.
If the user has provided a prefix, such as:
groovy:000> f.ge<tab>
the getters should still appear
Will try to make a PR so this can be tested inpractice.