Community
Participate
Working Groups
The attached patch adds support for determining types of constants, including correct handling of scopes. The patch also delivers several important fixes to the whole Ruby type inferencing. With this patch applied, Go To Declaration functionality in the Ruby editor starts jumping to the declarations of constants. (Note that you must press F3 on a reference to a constant to jump to it's declaration. If you're already on a constant declaration, the selection engine handles the case itself and does not do type inferencing. Also note that the indexer must have reindexed the current file for the changes in it to be seen by TI.)
Created attachment 59739 [details] Constants support in Ruby TI
Patch applied. Folks, please close this bug, it seems I have no permissions at the moment.
Marked as "fixed".
bulk change: this bug was fixed in DLTK 0.9