This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Given groovy file with: public class NewClass { String s; s. } Typing the period after the s, or ctl-space after that, doesn't provide code completion (or a list of possible methods). I have the JavaDocs correctly configured because it works with Java files. Also, when you go to Tools / Options / Miscellaneous / Groovy There is a place for Groovy Doc. What goes there? Groovy seems to come with docs in html and pdf formats only. Thanks!
Code completion doesn't show any methods because the context is wrong. Actually the issue is more that the code completion shows few items - code abbreviations, which shouldn't be present too (see issue 149976). If you place your piece of code inside of any method, e.g. class NewGroovyClass { public void method() { String s; s. } } You will see correct set of possible fields/methods. About the documentation, you need to setup your Groovy Docs first. Go to Tools / Options / Miscellaneous / Groovy and simple choose the directory where your HTML doc lies (something like /home/martin/Downloads/groovy-2.4.0-beta-1/html). But agree the description about what should be chosen could be more descriptive.
Decreasing priority and changing the issue summary. I will update the description to be more understandable. The rest of the report was (hopefully :)) explained in comment 1.
Description updated in change-set: web-main #d0325e8a7885
Integrated into 'main-silver', will be available in build *201407290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d0325e8a7885 User: Martin Janicek <mjanicek@netbeans.org> Log: #246023 - Panel for selecting GroovyDoc should be more descriptive