This post originated from an RSS feed registered with Scala Buzz
by Caoyuan Deng.
Original Post: Scala for NetBeans Screenshot#9: Working on Auto-Completion
Feed Title: Blogs about Scala from Caoyuan
Feed URL: http://blogtrader.org/page/dcaoyuan/feed/entries/atom?tags=scala
Feed Description: Blogs about Scala from Caoyuan Deng
With the indexed cache of project's Class/Trait/Object, and Scala standard library's source files, the auto-completion is a bit smarter now. If the val/var is declared with type, the auto-completion can know which methods will be suggested.
To get this work, you should follow these steps:
Update to newest Scala plugins (Editing version 1.0.21.1)
Delete the old-cache files which are located at your NetBeans's configuration directory (for example, .netbeans/dev/var/cache).
Download Scala standard library's source file, unzip them to $SCALA_HOME/src, per sub-folder per source jar file