I am using Netbeans v6.8 for Ubuntu 9.10 to develop Ruby on Rails.
My problem is that autocomplete is very inconsistent. For example, when I press Ctrl + space after entering “File.”, I get all the methods neatly defined on top, in bold, that can be called in the class. This list is delimited, and it is followed by all the hundreds of other methods from classes / modules other than a file.
But if I press ctrl + space on another sentence, for example, “ActionController :: Base :: logger.”, I don’t see methods like “info” or “error” at the top. I just get summarized hundreds of methods listed in alphabetical order (information and error from the registrar class are included in this list, but they are interspersed with other methods and therefore are not detected if you do not know what you are looking for).
Initially, I thought that codecomplete only works for Ruby classes, not Rails, but it is not, as I can get it to work for some Rails classes fairly accurately and consistently.
This is very frustrating. Can someone suggest a solution?
If not, can anyone recommend a better (free) IDE that has the best code completion feature?
source share