Google Summer of Code

Google Summer of Code 2010

!! Included in wip_exp_backport !!

Features Proposal of  GSOC 2010 Project

Features:

Feature#1. Visual indicators of the application of implicit conversions and the provision of implicit parameters.

Feature#2. A mechanism, possibly similar to code folding, for transiently expanding inferred types and implicit conversion and parameters inline in source text.

Feature#3. A mechanism for showing inferred type hovers for expressions (currently inferred types can only be shown for simple terms).

p.s.: There are some relevancies existed from Feature#1 to Feature#3.

Discussions

If you have any comments or suggestions, it would be much appreciated to discuss them here [3]. It is happy to discuss this proposal with you:)

Screenshots of above features

Semantic Highlighting and preferneces for Implicit Conversions and Implicit Arguments

1. Semantic Highlighting and related preference page for Implicit Conversions and Implicit Arguments

2. quick assist for implicit conversions - before applying

3. quick assist for implicit conversions - after applying

4. quick assist for implicit arguments - before applying

5. quick assist for implicit arguments - after applying

 

6. type info completion by "id:" auto activation - when typing ":"

7. type info completion by "id:" auto activation - after applying that type proposal

Sources

For my network limitation, I update my work as patches here[4]. And the corresponding git repo can be found here[5].

References

[1]http://www.scala-lang.org/gsoc2010

[2]https://groups.google.com/group/scala-ide-dev/browse_thread/thread/a917606573c06bdc

[3]https://groups.google.com/group/scala-ide-dev/browse_thread/thread/f7cffb3d69a44fee

[4]http://www.assembla.com/spaces/scala-ide/tickets/1000110-scala-ide-gsoc-2010-patches

[5]http://github.com/mdr/Scala-IDE/tree/gsoc