Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 175414 - [PATCH] Ruby type inferencing: constants support
Summary: [PATCH] Ruby type inferencing: constants support
Status: RESOLVED FIXED
Alias: None
Product: DLTK
Classification: Technology
Component: Ruby (show other bugs)
Version: 0.9   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.ruby-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-24 08:23 EST by Andrey Tarantsov CLA
Modified: 2010-06-11 06:04 EDT (History)
0 users

See Also:


Attachments
Constants support in Ruby TI (51.45 KB, patch)
2007-02-24 08:35 EST, Andrey Tarantsov CLA
alex.panchenko: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Tarantsov CLA 2007-02-24 08:23:51 EST
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.)
Comment 1 Andrey Tarantsov CLA 2007-02-24 08:35:43 EST
Created attachment 59739 [details]
Constants support in Ruby TI
Comment 2 Andrey Platov CLA 2007-02-24 08:54:13 EST
Patch applied. Folks, please close this bug, it seems I have no permissions at the moment.
Comment 3 Mikhail Kalugin CLA 2007-02-24 13:48:48 EST
Marked as "fixed".
Comment 4 Andrey Platov CLA 2008-05-26 02:42:45 EDT
bulk change: this bug was fixed in DLTK 0.9