Completion overwrites
Currently code completion always insert the full selected identifier or complete the already typed one. Instead there should exist an option similar to JDTs "Completion overwrites" that can replace other identifiers.
Leave a comment
on 2013-05-01 08:03 *
By Iulian Dragos
Hm, I have some code on this in a branch.. Let me know if you want to base it on it.
on 2013-05-01 08:36 *
By Iulian Dragos
(Comment removed)
on 2013-05-01 08:36 *
By Iulian Dragos
..and by the way, there is a duplicate ticket, I just added it.
on 2013-05-01 09:46 *
By Simon Schäfer
Yes, it would be nice if you link the branch, then I could look at it in the next time.
on 2013-05-01 09:58 *
By Iulian Dragos
..heavily influenced by the Java implementation ;-) https://github.com/dragos/scala-ide/tree/issue/completion-overwrites
on 2013-05-09 21:01 *
By Simon Schäfer
Iulian, thanks for the code, I never noticed that such a highlighting feature exists in JDT ;) I spend some time on it and got completion overwrites to work for the Scala editor. Still, it misses some small things and a test suite. The latter probably will be hard work but the former should be easy to fix. Could you tell me the name of the class in JDT that contains the completion overwrite logic? I'm still not yet familiar enough with JDT to find it by my own.
on 2013-06-18 17:13 *
By Iulian Dragos
I finished my PR (no tests, it's all UI code), so I'm closing this one as duplicate