Bug 229276 - Ruby completion - sort types by relevance
Summary: Ruby completion - sort types by relevance
Status: RESOLVED FIXED
Alias: None
Product: DLTK
Classification: Technology
Component: Ruby (show other bugs)
Version: 0.95   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.ruby-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-04-29 07:59 EDT by Alex Panchenko CLA
Modified: 2010-06-11 07:04 EDT (History)
1 user (show)

See Also:


Attachments
patch (4.61 KB, patch)
2008-04-29 08:00 EDT, Alex Panchenko CLA
alex.panchenko: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Panchenko CLA 2008-04-29 07:59:55 EDT
The attached patch sort types suggested by autocomplete in the following order:
1. current module types
2. current project types
3. other types

The order is similar to one used by JDT. The idea is that types of the current project are more likely to be used than all types from the system libraries.

Legal Message: I, Alex Panchenko, declare that I developed attached code from scratch, without referencing any 3rd party materials except material licensed under the EPL. I am authorized by my employer (xored software, Inc.) to make this contribution under the EPL.
Comment 1 Alex Panchenko CLA 2008-04-29 08:00:24 EDT
Created attachment 97954 [details]
patch
Comment 2 Andrei Sobolev CLA 2008-04-30 01:59:29 EDT
Applied.
Comment 3 Andrey Platov CLA 2008-05-26 02:48:20 EDT
bulk change: fixed in 0.95